Part Number Hot Search : 
RT5234B BD9120 C7324 MX581JH ASRD715T AUIRF7 ATF15 MS1271
Product Description
Full Text Search
 

To Download SAA7806 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SAA7806
One chip automotive CD audio device
Rev. 01 -- 20 June 2005 Objective data sheet
1. General description
The SAA7806, is a single chip solution CD audio decoder, digital servo, audio DAC, pre-amp, laser driver and integrated ARM7TDMI-S microcontroller, targeted at automotive CD applications. The channel decoder design is derived from the SAA7817 DVD decoder IC, with optimization and design improvements specifically for CD audio (e.g. improved CD playability). The digital servo, analog pre-amp, laser driver and audio DAC blocks are improved designs based on the SAA7824 CD decoder IC. Further architectural enhancements to the design have been made to integrate system functionality and reduce the system cost of ownership. The SAA7806 IC supports a generic architecture that will form the basis of future variants in the SAA7806 IC family optimized for different CD applications.
2. Features
2.1 Hardware features
s Channel decoder based on SAA7817 IC design s Digital servo based on SAA7824 IC design s 32-bit embedded ARM7 RISC microcontroller supporting both 32-bit and 16-bit Thumb instruction sets s Mask programmed internal program ROM for microcontroller s Register structure redesigned to utilize the complete 32-bit bandwidth of the integrated microcontroller bus architecture s Programmable clock frequency for ARM microcontroller - allowing users to trade-off power consumption and processing power depending on requirements s Microcontroller access to digital representations of the diode input signals from the optical pick up; the microcontroller can also generate the servo output signals RA, FO, SL and allows the possibility of additional servo algorithms or a complete servo implementation in software s Microcontroller access to audio streams; both from the internal CD decoder and an external stereo auxiliary input (e.g. an analog source from a tuner; converted to digital via on-chip ADCs) to allow audio processing algorithms in the ARM microcontroller; e.g. bass boost and volume control s Two general purpose analog inputs (A_IN_1 and A_IN_2) allowing the ARM microcontroller access to other external analog signals; e.g. low cost keypad; temperature sensor; via on-chip ADCs s Two analog inputs for external audio sources (e.g. tuner) which can be accessed by the ARM for audio processing s Slave I2S-bus mode in which the channel decoder can synchronize the CD playback speed to an input I2S-bus clock
Philips Semiconductors
SAA7806
One chip automotive CD audio device
s Integrated digital HF/mirror detector with measurement of minimum and maximum peak values, amplitude and offset s Integrated LCD controller/driver (pins multiplexed with General Purpose Input/Outputs (GPIOs) s Integrated CD-TEXT decoder s 1 x 2 x 4 x or 6 x decode speed, CLV or CAV modes s QFP100 package with 0.65 mm pin pitch s Separate left and right channel digital silence detect available on KILL pins s Digital silence detection available on loopback data from external source as well as internal data s `Filterless' pseudo-bitstream audio DAC; THD = -80 dB and S/N = 90 dB; with minimal external components s Separate line and headphone outputs for audio DAC s Selectable quiescent current for headphone buffers - allows users to choose between low-power consumption or lower distortion performance s Loop back mode allowing the use of integrated DAC with external I2S-bus/EIAJ sources s Compatible with voltage mode mechanisms s On-chip buffering and filtering of the diode signals from the mechanism in order to optimize the signals for the decoder and servo parts s LF (servo) signals converted to digital representations by sigma-delta ADCs shared between pairs of channels to minimize DC offset between channels s HF part summed from signals D1 to D4 and converted to digital signals by HF 6-bit ADC s Digitally controlled selectable DC offset cancellation of quiescent mechanism voltages and dark currents; additional fine DC offset cancellation in digital domain s Eye pattern monitor system to observe selectable points within the analog preamplifier s Current and average jitter values available via registers s On-chip laser power control; up to maximum currents of 120 mA s Laser on-off control; including `soft' start control - zero to nominal output power in 1 ms s Monitor control and feedback circuit to maintain nominal output power throughout the life of laser s Configured for Nsub monitor diode s Debug version for code development and debug in LQFP100 multi chip module, with internal flash ROM and SRAM (for fast code access) programmed via JTAG interface s JTAG interface for device access and ARM code development (compatible with ARM multi-ICE) s All digital input pins 5 V tolerant.
2.2 Read formats
s s s s CD-R CD-RW CD-DA (red book) CD-ROM.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
2 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
3. Ordering information
Table 1: Ordering information Package Name SAA7806H Description Version QFP100 plastic quad flat package; 100 leads (lead length 1.95 mm); SOT317-2 body 14 x 20 x 2.8 mm Type number
4. Block diagram
SAA7806 CHANNEL DECODER
I2S-BUS AUDIO OUT HF ADC DIGITAL DECODER AUDIO PROCESSING INTERFACE INTERRUPT CONTROLLER AHB bus SMIU
ARM7TDMI-S MICRO
CD TEXT DECODER
AHB DECODER INTERFACE
4 kB RAM
VPB BUS SYSTEM
AHB TO VPB BRIDGE 2 x TIMERS 2 x ANALOG INPUTS I2S-BUS UART
SERVO
LF ANALOG ADCs AHB SERVO INTERFACE DIGITAL SERVO
32 kB ROM
ARM7 CPU (THUMB)
LCD DRIVER I2C-BUS
GPIO
ANALOG LASER DRIVER
AUDIO DAC LINE AND HEADPHONE OUT
001aac125
Fig 1. SAA7806 top level block diagram
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
3 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
5. Pinning information
5.1 Pinning
91 OPU_REF_OUT
98 DAC_VREF
100 DAC_RP
93 OSCOUT
95 VDD(DAC)
99 DAC_RN
97 DAC_LN
96 DAC_LP
89 AUX_R
88 AUX_L
94 OSCIN
90 VDDA2
VSS(DACF) VSS(DACB) BUF_OUT_L BUF_OUT_R VDDA3 A_IN_1/GPIO0 A_IN_2/GPIO1 TX/GPIO_ANA RX/GPIO_ANA
1 2 3 4 5 6 7 8 9
81 VDDA1 80 HF_MON 79 VSSA1 78 MONITOR 77 LASER 76 LPOWER 75 TDO2/GPIO31 74 INT/GPIO30/RTCK 73 TMS2/GPIO29 72 TDI2/GPIO28 71 VDDD2 70 VSSD2 69 SL 68 FO 67 RA 66 MOTO2 65 MOTO1 64 TDO 63 TRST_N 62 TCK 61 TMS 60 TDI 59 VDDP3 58 VSSP3 57 V4/CL16 56 SYNC 55 SCLK 54 WCLK 53 DATA 52 EF 51 SDI SCLI 50
001aac126
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
92 VSSA2
87 R2
86 R1
85 D4
84 D3 INT_EX_ROM 47
83 D2 VDDP2 48
SDA 10 SCL 11 VSSD1 12 RESET_N 13 VDDD1 14 LKILL 15 RKILL 16 VSSP1 17 DOBM 18 VDDP1 19 SEG0/GPIO4 20 SEG1/GPIO5 21 SEG2/GPIO6 22 SEG3/GPIO7 23 SEG4/GPIO8 24 SEG5/GPIO9 25 SEG6/GPIO10 26 SEG7/GPIO11 27 SEG8/GPIO12 28 SEG9/GPIO13 29 VLCD 30 SEG10/GPIO14 31 SEG11/GPIO15 32 SEG12/GPIO16 33 SEG13/GPIO17 34 SEG14/GPIO18 35 VDD(LED) 36 SEG15/GPIO19 37 SEG16/GPIO20 38 SEG17/GPIO21/CL1 39 SEG18/GPIO22/MEAS 40 SEG19/GPIO23/CFLG 41 COM0/GPIO24 42 COM1/GPIO25 43 COM2/GPIO26 44 COM3/GPIO27 45 VSSP2 46 WCLI 49
SAA7806H
Fig 2. Pin configuration
9397 750 13697
Objective data sheet
Rev. 01 -- 20 June 2005
82 D1
4 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
5.2 Pin description
Table 2: Symbol VSS(DACF) VSS(DACB) BUF_OUT_L BUF_OUT_R VDDA3 A_IN_1/GPIO0 A_IN_2/GPIO1 TX/GPIO_ANA RX/GPIO_ANA SDA SCL VSSD1 RESET_N VDDD1 LKILL RKILL VSSP1 DOBM VDDP1 SEG0/GPIO4 SEG1/GPIO5 SEG2/GPIO6 SEG3/GPIO7 SEG4/GPIO8 SEG5/GPIO9 SEG6/GPIO10 SEG7/GPIO11 SEG8/GPIO12 SEG9/GPIO13 VLCD SEG10/GPIO14 SEG11/GPIO15 SEG12/GPIO16 SEG13/GPIO17 SEG14/GPIO18 VDD(LED) SEG15/GPIO19 SEG16/GPIO20 SEG17/GPIO21/CL1
9397 750 13697
Pin description Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Type P P AO AO P AIBTS AIBTS AIBTS AIBTS B B P IUH P BTSU BTSU P OS P AIBTS AIBTS AIBTS AIBTS AIBTS AIBTS AIBTS AIBTS AIBTS AIBTS P AOBS AOBS AOBS AOBS AOBS P AOBS AOBS AOBS Description audio DAC floating ground audio DAC and buffer shared ground audio buffer left output audio buffer right output positive supply voltage 3 for audio buffer analog input 1 or general purpose I/O 0 analog input 2 or general purpose I/O 1 UART transmit or general purpose I/O UART receive or general purpose I/O I2C-bus interface data I/O line (open drain output) I2C-bus interface clock line digital core ground 1 Power-on reset (active LOW) digital core supply 1 kill output for left channel (configurable as open drain) kill output for right channel (configurable as open drain) digital ground 1 for periphery (pads) biphase mark output (no external buffer required) digital supply 1 for periphery (pads) LCD segment drive or general purpose I/O 4 LCD segment drive or general purpose I/O 5 LCD segment drive or general purpose I/O 6 LCD segment drive or general purpose I/O 7 LCD segment drive or general purpose I/O 8 LCD segment drive or general purpose I/O 9 LCD segment drive or general purpose I/O 10 LCD segment drive or general purpose I/O 11 LCD segment drive or general purpose I/O 12 LCD segment drive or general purpose I/O 13 LCD supply voltage (5 V supply) LCD segment drive or general purpose I/O 14 LCD segment drive or general purpose I/O 15 LCD segment drive or general purpose I/O 16 LCD segment drive or general purpose I/O17 LCD segment drive or general purpose I/O18 LED supply voltage (3.3 V supply) LCD segment drive or general purpose I/O 19 LCD segment drive or general purpose I/O 20 LCD segment drive or general purpose I/O 21 or clock output for sampling channel decoder telemetry outputs
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
5 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Pin description ...continued Pin 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 Type AOBS AOBS AIBTS AIBTS AIBTS AIBTS P ID P I I I BTS OTS BTS BTS OTS BTS P P IU IU IDH IU OTS OTS OTS OTS OTS OTS P P BTSU BTSU BTS BTS P P AI Description LCD segment drive or general purpose I/O 22 or channel decoder telemetry output LCD segment drive or general purpose I/O 23 or channel decoder correction statistics LCD back plane drive or general purpose I/O 24 LCD back plane drive or general purpose I/O 25 LCD back plane drive or general purpose I/O 26 LCD back plane drive or general purpose I/O 27 digital ground 2 for periphery (pads) development ROM select (LOW = internal ROM) digital supply 2 for periphery (pads) serial word clock input (loopback) serial bit clock input (loopback) serial data input (loopback) C1 and C2 error flag serial data output word clock output serial clock output EFM frame synchronization versatile pin 4 or clock output 16.9344 MHz digital ground 3 for periphery (pads) digital supply 3 for periphery (pads) JTAG1 test data input JTAG1 test mode select JTAG1 test clock JTAG1 asynchronous reset (active LOW) JTAG1 test data output motor output 1 motor output 2 radial actuator focus actuator sledge actuator digital core ground 2 digital core supply 2 JTAG2 test data input or general purpose I/O 28 JTAG2 test mode select or general purpose I/O 29 external interrupt or general purpose I/O 30 JTAG2 test data output or general purpose I/O 31 laser power supply laser drive laser monitor diode
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Table 2: Symbol
SEG18/GPIO22/MEAS SEG19/GPIO23/CFLG COM0/GPIO24 COM1/GPIO25 COM2/GPIO26 COM3/GPIO27 VSSP2 INT_EX_ROM VDDP2 WCLI SCLI SDI EF DATA WCLK SCLK SYNC V4/CL16 VSSP3 VDDP3 TDI TMS TCK TRST_N TDO MOTO1 MOTO2 RA FO SL VSSD2 VDDD2 TDI2/GPIO28 TMS2/GPIO29 INT/GPIO30/RTCK TDO2/GPIO31 LPOWER LASER MONITOR
9397 750 13697
Objective data sheet
Rev. 01 -- 20 June 2005
6 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Pin description ...continued Pin 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Type P AO P AI AI AI AI AI AI AI AI P AO P AO AI P AO AO AIO AO AO Description analog ground HF monitor output signal analog supply diode voltage input (central diode signal input) diode voltage input (central diode signal input) diode voltage input (central diode signal input) diode voltage input (central diode signal input) diode voltage input (satellite diode signal input) diode voltage input (satellite diode signal input) headphone buffer left input/auxiliary audio left input headphone buffer right input/auxiliary audio right input analog supply voltage OPU reference voltage analog ground crystal or resonator output crystal or resonator input audio DAC positive supply audio DAC left channel differential output (positive) audio DAC left channel differential output (negative) audio DAC decoupling point (10 F and 100 nF parallel to ground) audio DAC right channel differential output (negative) audio DAC right channel differential output (positive)
Table 2: Symbol VSSA1 HF_MON VDDA1 D1 D2 D3 D4 R1 R2 AUX_L AUX_R VDDA2
OPU_REF_OUT VSSA2 OSCOUT OSCIN VDD(DAC) DAC_LP DAC_LN DAC_VREF DAC_RN DAC_RP Table 3: Type AI AIO AO AOBS B BTS BTSU I
[1]
Pin type definition [1] Definition analog input analog input/output analog output analog output, digital bidirectional, slew rate limited digital bidirectional digital bidirectional, 3-stateable, slew-rate limited digital bidirectional, 3-stateable, slew-rate limited, pull-up digital input Type ID IDH IU IUH OS OTS P Definition digital input with pull-down digital input with pull-down, hysteresis digital input with pull-up digital input with pull-up, hysteresis digital output digital output, 3-stateable, slew rate limited power connection
All digital inputs are TTL levels. All digital outputs are CMOS levels. All digital inputs and bidirectional pins are 5 V tolerant.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
7 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6. Functional description
6.1 Analog data acquisition
The input signals from the OPU photodiodes contain information used in the servo loops and the high frequency data from which the audio samples are reconstructed. The SAA7806 contains all the necessary circuitry to process the photodiode signals directly and hence removes the need for a separate external diode signal preamplifier.
6.1.1 LF acquisition
The LF signal path acquires the photodiode voltage signals and converts them into 4 MHz Pulse Density Modulation (PDM) digital data streams. These streams are processed within the digital servo to control the focus, radial and sledge loops. The servo processing makes use of the difference calculations D1 - D2, D3 - D4 and R1 - R2. Ideally these differences should be zero when the quantities D1 ... R2 are equal due to the laser illumination. However in a practical system, errors reduce the accuracy of the signal processing. Two main forms of errors exist - DC offsets and relative gain mismatch between the `difference' channels. The DC offsets are minimized in SAA7806 by DC offset compensation circuitry which allows the DC present in the PDM streams to be measured when the laser is switched off, and then subtracted in the digital domain from the signals when the laser is on. Relative gain mismatch is minimized by using carefully scaled circuitry in the time continuous parts of the signal path, and by time sharing circuitry in the time discrete parts. A simplified block diagram of the LF acquisition path is shown in Figure 3.
VDD internal reference 2 VSS COMP_REF_SEL[1:0] Vi voltage-to-current converter Vref current conveyor internal reference 1 DC compensation DAC
Cint
fSL (clock) level shifter compIn d1_pdm
feedback switch
feedback DAC
D1Offset[32:1]
LFADCGain[3:0]
001aab747
Fig 3. LF acquisition
The output of the OPU is converted to a current across the input resistor. The current conveyor provides a low input impedance and a high output impedance and sets a virtual earth at the end of the V-to-I converter to the same voltage as Vref (1.6 V).
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
8 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The level shifter's purpose is to act as a summing node for the DC cancellation and to produce a current that is referenced to an internal bias voltage and therefore independent of Vref. The output current charges an integration capacitor. When the voltage reaches VDDA/2 the comparator switches and sends a feedback current that is in the opposite polarity to the input current to try to discharge the capacitor. The register LFADCGain defines the amount of feedback current and therefore sets the gain of the ADC. The output of the ADC is a PDM waveform which is passed through a low-pass filter (in the digital domain) and the average value at the output of the filter is in proportion to the voltage between Vi and Vref. The same ADC structures are used for the auxiliary analog inputs, AUX_L and AUX_R and the general purpose analog inputs, A_IN_1 and A_IN_2. The ADCs used by the auxiliary analog inputs are multiplexed with the D1 and D2 inputs whereas the general purpose analog inputs have dedicated ADCs.
6.1.2 HF acquisition
The HF data (EFM) signal is obtained by summing the signals from the three or four central diodes of the OPU, filtering the signals and converting to a digital representation via a 6-bit RF ADC. Figure 4 shows a simplified block diagram of the HF path.
0 dB to 24 dB G1FIXED[3:0] 82 83 84 85 20 k 20 k 20 k 20 k RFPwd single-ended to differential converter 4x 80 k D 20 k 20 k RFBypassSel 80 k HF_MON 80 RFDiffPwd OFFSETCOMPVALUE[5:0] E NOISE FILTER G F RF AMP1 A HIGH-PASS FILTER B 20 k
0 dB to 12 dB G2DYN[3:0]
D1 D2 D3 D4
RF AMP2
C
RFBypassSel 20 k
RF_ADC_OUT[5:0] 6-BIT RF ADC sys_clk
NOISEFREQSEL[3:0] HFADCPwd sys_clk from PLL
RFMONSEL[2:0] G F E D C B A
RFMonPwd
001aab748
Fig 4. HF acquisition
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
9 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The four diode signals D1, D2, D3 and D4 are summed in the first RF amplifier. The gain of the first amplifier is controlled by G1FIXED[3:0] (FIXED = static), register AGCGain, bits 7:4. A second gain stage has been added to lessen the gain bandwidth requirements of a single gain stage operational amplifier and also to act with the dynamic Automatic Gain Control (AGC). The gain of this amplifier is set with G2DYN[3:0](DYN = dynamic) register AGCGain, bits 3:0 and can be changed on-the-fly from the ARM microcontroller. The gain range was chosen to accommodate 12 dB of gain needed to boost the signal as the laser tracks across a finger print defect on the disc. CD-R, CD-RW and finger prints not only reduces the AC signal amplitude compared to a perfect pressed disk, but also reduces the DC pedestal voltage. The high-pass filter will remove all DC present at the input but offsets would be added by the second and third gain stages. A 5-bit plus sign DAC controlled by register OffsetComp, bits 5:0, OFFSETCOMPVALUE[5:0] adds a current to compensate for this offset. The amount of current will reduce in linear dB states and will track the AC gain. To help users of the IC setup the correct gain and DC offset for each particular mechanism, an eye pattern monitor facility has been included. This consists of a high frequency buffer amplifier whose input can be selected to monitor various important nodes within the analog RF path. The monitor point is controlled by register RFControl1, bits 6:4 RFMONSEL. The output of the buffer drives pin HF_MON (pin 80). This register also controls the roll-off frequency of the noise filter which precedes the 6-bit ADC in the RF path. Various blocks within the analog RF path can be powered down if required, including the complete path. These power-down bits are controlled by register RFControl2, bits 5:0. In addition, the 6-bit RF ADC can be tested stand alone in application mode or a separate external RF path IC can be connected to SAA7804 by selecting bit 1 of register RFBypassSel. The input for the RF signal is then through pin HF_MON. In this mode the center diode summing circuit, RF amp1, high-pass filter and RF amp2 are all bypassed.
6.2 Analog clock generation
pad_clk1v8 pad_clk MUX MUX OSCIN OSCOUT 94 93 DIVIDE BY 2 AUDIO DAC MUX 8x MULTIPLIER HF ADC sys_clk
sysclk_premux
adac_out_4_clk
001aab749
Fig 5. Analog clock generation
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
10 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Sys_clk is the primary clock used by the channel decoder and ARM clock generators. This clock operates at 67 MHz with either an 8 MHz or 16 MHz crystal or resonator. The divide-by-2 is selected when a 16 MHz crystal or resonator is used.
6.3 General purpose analog inputs
The two general-purpose ADC inputs (A_IN_1, pin 6 and A_IN_2, pin 7) can be used for giving the ARM microcontroller access to external analog sources, e.g. for monitoring temperature and to provide simple resistor-ladder keypad functionality. These inputs use an additional pair of sigma-delta ADCs identical to those used for the LF diode inputs. The general purpose analog inputs have separate interrupt request lines and use address space in the servo registers for storing the converted digital values. The output of the general-purpose ADCs are low-pass filtered and can have fine offset compensation added before being passed to a decimation filter. The digital values from the decimation filter are then captured in the servo registers with 10-bit resolution per channel. See Figure 6.
reg 2F8 for A_IN_1 reg 2FC for A_IN_2 DC OFFSET COMPENSATION
reg 318 for A_IN_1 reg 31C for A_IN_2 FINE DC OFFSET COMPENSATION
A_IN_1 or A_IN_2
6 or 7
SIGMA-DELTA ADC
LOW-PASS FILTER
INTERRUPT GENERATOR
DECIMATION FILTER
IRQ
SERVO REGISTERS (10-BIT)
to ARM microprocessor
001aab750
Fig 6. General purpose analog inputs block diagram
6.4 Auxiliary analog inputs
Two further analog inputs, AUX_L and AUX_R, are available with sufficient resolution for inputting external audio sources, e.g. for allowing ARM access to an external audio source for sound processing algorithms. This allows audio processing of external audio sources via the AUX pins, whilst simultaneously using the general purpose inputs for keyboard and temperature inputs. Since these two inputs share one pair of the LF sigma-delta ADCs used in the LF path (for inputs D1 and D2) a multiplexer is used to control the data source into the ADCs. For this reason, D1 and D2 cannot be used at the same time as AUX_IN_L and AUX_IN_R. A further multiplexer is used to switch the input pads from the headphone input buffer modes
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
11 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
to auxiliary input modes. This path has a specification of SNR = 55 dB and THD < 0.3 % and can be used for tuner input processing. These performance figures are below that available when the normal CD-Audio path is used i.e. SNR > 80 dB and THD < 0.01 %. The audio data is converted to a pulse density modulated digital stream for both input channels. This data is then low-pass filtered and decimated to produce 10-bit representations of the analog inputs. The auxiliary input is different from the general purpose analog inputs in that the parallel data is converted to an I2S-bus format stream and then sent to the I2S-bus handler block which makes the data available to the ARM microcontroller. The I2S-bus handler contains a variable size data FIFO which means the ARM microcontroller does not have to service the audio data with as high a priority as it would if it were directly registered. See Figure 7.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
12 of 73
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
Objective data sheet Rev. 01 -- 20 June 2005
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved. 9397 750 13697
Philips Semiconductors
MULTIPLEXER D1 AUX_L 82 88 D1 aux L S1 S2 C spare reg A if_auxin_sel MULTIPLEXER D2 AUX_R 83 89 D2 aux R S1 S2 C D 10-bit samples of aux L and aux R expanded to 16 bits by adding six LSBs block used to route I2S-bus to audio DAC or pins MULTIPLEXER DAC lp S1 S2 C DAC rp or aux R HEADPHONE BUFFER 4 D DAC lp or aux L VPB bus data WCLK D2 or aux R DSIC ADC D2 or aux R LOW-PASS FILTER D2 or aux R DECIMATION FILTERS SERIAL OUT D D1 or aux L D1 or aux L D1 or aux L
BCLK
I2S-BUS ROUTER
3
BUF_OUT_L
One chip automotive CD audio device
MULTIPLEXER DAC rp S1 S2 spare reg A buf_auxin_sel C D
BUF_OUT_R
001aab751
SAA7806
13 of 73
Fig 7. Auxiliary analog input
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.5 AHB core clock generation
Two independent clock dividers are used within SAA7806, one for CD-Slim and the other for the ARM Advanced High performance Bus (AHB) core. Figure 8 gives a top level description of the SAA7806 clocking, AHB fixed clock frequencies are given. A more detailed description of the CD-Slim clocking is given in Figure 10.
OSCIN 94
OSCOUT 93
4.2336 MHz audio DAC clock 1.536 kHz LCD clock CLOCK GENERATOR ANALOG CLOCK GENERATOR
ARM/AHB/VPB clock
CLOCK GENERATOR
CD-SLIM
67 MHz baseline clock ARM AHB
RAM
ROM
SMIU
AHB/ VPB INTERFACE
PDSIC
AHB and VPB operate at ARM frequency 8.4672 MHz PDSIC clock
VPB
LCD
GPIO
INTERRUPT CONTROLLER
UART
I2C-BUS
I2S-BUS HANDLER
AUDIO DAC
9.6768 MHz I2C-bus clock I2S-bus bit clock
001aab752
Fig 8. Clocking top level
6.6 Channel decoder
6.6.1 Features
The channel decoder in the SAA7806 is derived from the design used in the SAA7817 DVD decoder IC. The design has been optimized for CD decode functionality (i.e. EFMPlus demodulation has been removed) and has the following features:
* 1-channel interface to the on-chip 6-bit 67 MHz AD converter * Signal conditioning logic with high-pass filter, DC offset cancellation (Analog Offset
Cancellation; AOC) and AGC logic
* HF defect detection circuitry with automatic hold of AGC, AOC, High-Pass Filter
(HPF), PLL and slicer on defect detection
* Digital equalizer, noise filter, PLL and slicer
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
14 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
* RL2PB mechanism * EFM demodulator with sync interpolation * CD-TEXT and subcode Q-channel extraction blocks with software-interface via
registers
* Decoding, de-interleaving and Reed-Solomon error correction according to CD CIRC
standards
* On-chip de-interleaving SRAM memory * Audio processing back-end with interpolate / hold, mute, kill and silence detect logic;
and de-emphasis and 4 x upsample filter
* Two data-output interfaces: I2S-bus and EBU * One serial subcode output interface * Motor control for CLV or open loop or software controlled regulation with 1 or 2 motor
pins (no onboard tacho)
* 8-bit register map; with AHB slave interface * An interrupt output with associated interrupt, status and interrupt enable registers for
full interrupt driven operation
* Debug information available via pin MEAS, pin CFLG and parallel debug-bus.
6.6.2 Block diagram
Refer to Figure 9. The incoming diode signals are first added and processed in the analog front-end in order to create a proper RF (HF) signal. This analog signal is converted to digital by the ADC. This signal is then resampled from the ADC clock to the system clock domain via the int/dump block. Offset and gain on the RF signal are regulated via the AGC/AOC loop (via the analog front-end). Remaining offset which is not removed by the analog front-end can be removed via the digital HPF. The RF signal is then sliced by the bit detector. Clock recovery is done by a full-digital PLL with noise filter, equalizer and sample rate convertor. A defect detector makes it possible to hold AGC, AOC, HPF, slicer and PLL during black / white dots. At this point in the data path, RF-samples are converted into a bitstream. The RL2 pushback will avoid RL3s in the RF being accidently translated into RL1 or RL2 in the bitstream. The channel bit stream is demodulated to bytes by the EFM demodulator. Q-channel subcode and CD-TEXT information is extracted via the Q-subcode and CD-TEXT decoder, available for readout through the subcpu interface. The main data stream is error-corrected by the ERCO, while the memproc takes care of the CIRC de-interleaving and buffering of data in a FIFO. At the back-end of the channel decoder, corrupted audio-samples can be interpolated and held, while a burst of errors can trigger the mute block. Detection of digital silence can be used to kill the internal / external audio DAC. Pre-emphasis on the audio-disc can be removed via the de-emphasis filter, and the data can be 4 x upsampled before sending to the audio DAC. CD-data is outputted via the I2S-bus and/or the EBU outputs. Motor control can be frequency regulated on incoming RF bit rate, with additional phase regulation on FIFO filling, or can be fully controlled via software. CLV support is guaranteed in this way, CAV support must be regulated and steered via software in open loop (no tacho available). Debug information is available via registers, via the dedicated serial lines MEAS and CFLG and via a parallel debug bus (not available when used in an application).
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
15 of 73
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
Objective data sheet Rev. 01 -- 20 June 2005
from RL2 pushback EFM DEMODULATOR 168 SUBCPU AND GENERAL
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved. 9397 750 13697
Philips Semiconductors
D1 to D4
82 to 85
13C ANALOG ADC INT/DUMP 000 OFFSET MEASUREMENT 0D4-0D8 PEAK DETECTORS 0A0 AGC AOC 060-0A0 hold PEAK DETECTOR 0A4-0BC DIGITAL PLL DEFECT DETECTOR 0F0-104 hold HPF 0D0 SLICE LEVEL DETERMINE 12C clocked on PLL clock 160 120-128, 134-138, 148 RMS FILTER MEASUREMENT 140-144 multiplex 40 MEAS jitter value PLL frequency slice level CD-TEXT 1B0-1BC EBU Q-SUBCODE 1A0-1A8 ERCO 174, 180-184 MEMPROC (CIRC DEC AND FIFO) 170, 178 INTERPOLATE / HOLD SOFT MUTE 1DC ERROR DETECT 1E0, 1E4 15 SILENCE DETECT 1E8 KILL GENERATION 1E8 16 66 65
001aab753
SRC
NOISE FILTER
DIGITAL EQUALISER 130
RL2 PUSHBACK
to EFM demodulator
ZERO TRANS DETECT
INTERRUPTS 040-04C
error correction info EBU
41
CFLG
HARD MUTE 1E0
1D8
1D0, 1D8 I2S-bus
I2S-BUS 1F0 1E0 DEEMPHASIS 1F0 UPSAMPLE 1EC 1F0 1D0, 1D4
One chip automotive CD audio device
CLOCK SHOP 000-00C
MOTOR CONTROL 210-22C
020, 240, 248, 24C
LKILL RKILL MOTO2 MOTO1
SAA7806
16 of 73
The numbers next to each functional block refer to the local address of the registers that control specific logic (and are hexadecimal)
Fig 9. Channel decoder top level
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.3 Clock control
cl1clock INT AND DUMP CL1_DIV (50 %) /1, /2, /3, /4
adc_clk
CL1
hf_clk (67 MHz)
sysclock xclk (67 MHz) /2
33 MHz (50 %) CLOCKSYS_DIV (PULSE BLANKING) /1 (33 MHz), /2 (16 MHz), /4 (8 MHz), /8 (4 MHz) /16 (2 MHz)
sysclk sys_always_on phi1 phi2 phi3 fastclk
ebuclock ebuclki CLOCKEBU_DIV (50 %) /2, /3, /4, /6, /8, /12, /16, /24, /32, /48 ebuclk
cl16clock
CL16_DIV (50 %) /3, /4, /6, /8
CL16
bitclock
CLOCKBIT_DIV (50 %) /2, /3, /4, /6, /8, /12, /16, /24, /32, /48 bclk_in
bclki
bclk
bdei
001aab754
Fig 10. Clock control
The clock control block defines the clock frequencies for four clock domains.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
17 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.3.1
Signal xclk Most internal clocks are derived from xclk. This clock is the output of the clock multiplier in the analog part and has a fixed frequency of 67.7376 MHz = 8.4672 (crystal oscillator) x 8. If a 16 MHz crystal is used, the crystal clock is divided by 2 inside the analog block. Crystal selection is done via AnaClockPLLControl(Sel16).
6.6.3.2
Sysclock domain The main part of the internal channel decoder blocks run on the sysclk or derivatives. Sysclk is derived from xclk divided by 2 (50 % duty cycle) and can be further divided down via register SysclockConfig(SYSDIV). This register also provides the possibility to power down the majority of the clocks (for sleep mode). The choice of the sysclk frequency in an application is determined by the expected input bit rate on the RF stream. The relation between this incoming bitstream frequency fbit and the system clock is expressed in a fbit/fsysclk ratio. There are 2 limiting factors:
* The HF-PLL operation range is between 0.25 x fbit/fsysclk and 2 x fbit/fsysclk. * The decoder and error corrector throughput rate is limited to 1.7 x fbit/fsysclk.
This brings the constraint to 0.25 < fbit/fsysclk < 1.7 6.6.3.3 Bitclock domain The I2S-bus back-end logic runs on this clock. Bclk is also output as part of the I2S-bus interface. In audio slave mode this clock needs to be programmed exactly at 44100 x 2 x 16/24/32 Hz (depending on I2S-bus-mode), to get a 1 x data rate to the audio DAC. In master mode with gated bclk, bclk must be programmed at a higher rate than the required outgoing bit rate for that disc speed, to avoid FIFO overflow in the decoder. (For instance at N = 1, the incoming RF bit rate is 4.3218 MHz, which corresponds to an output bit rate of 1.4112 MHz. This means that bclk > 1.4112 MHz is high enough when I2S-bus-16 is chosen, while I2S-bus-32 requires at least 2.8224 MHz bclk. The bclk division is selected via register BitClockConfig. Also bclk gating can be enabled via the same register. 6.6.3.4 Ebuclock domain The EBU back-end runs on this clock. The EBU (or SPDIF) interface is only enabled during audio slave mode. The ebuclk needs to be exactly 44100 x 64 = 2.8224 MHz for 1 x operation. Ebuclk division is selected via register EBUClockConfig. There are a few other clocks controlled by the clock control block:
* The hf_clk is fixed at 67.7376 MHz, and is used to clock in the samples from the ADC,
which is clocked by the xclk with the same clock frequency
* The bclk_in is the incoming I2S-bus bit clock, which is used when I2S-bus is
programmed to receive bclk rather than transmitting it (programmed via register IISConfig)
* The CL1 clock can be used to monitor the CFLG and MEAS debug lines; the
frequency can be programmed via register CLClockConfig
* The CL16 clock can be used to clock an external audio DAC or audio filter IC; the
frequency can be programmed via register CLClockConfig.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
18 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.4 Decoder to ARM microcontroller interface
The decoder core is internally connected to the ARM core via the AHB interface for register access to the decoder internal configuration registers. 6.6.4.1 Programming interface Decoder registers are programmed through the AHB interface. (A full description of the interface itself is not described in this document.) For the application, it should be noted that the interface supports 32-bit registers, while the decoder only contains 8-bit registers. As a result, the decoder registers are treated as 32-bit registers of which the 24 MSBs are not used. The register address map occupied by the decoder are from relative address 000h to address 374h, and can be split in 2 parts: 000h - 24Ch; the decoder's own registers, which are used to configure the channel decoder; the functionality they control is described in detail in this section 2A0h - 374h; the decoder immigrant registers, which are not used to control the decoder channel decoder; they control other parts of the SAA7806, which do not have their own AHB interface. 6.6.4.2 Interrupt strategy The channel decoder contains 2 interrupt registers. InterruptStatus1 contains all interrupts that operate as set / reset latches (set by hardware, reset by reading from the register). InterruptStatus2 contains all interrupts that operate as feedthroughs (set by hardware, reset by hardware or by accessing other registers). Every interrupt bit can be enabled or disabled separately by writing to the corresponding enable bit in the InterruptEnable1 and InterruptEnable2 registers. If one or more interrupt bits in the status registers are set, and at least one has its corresponding enable turned on, the interrupt line of the decoder to the microcontroller will go active (LOW). When an interrupt bit's corresponding enable is turned off, the interrupt status bit will behave the same as described above, the difference is that it will not trigger the interrupt line. In this mode the interrupt could still be processed if polling on the status register is used rather than real interrupt handling in the microcontroller.
6.6.5 EFM bit detection and demodulation
D1 D2 D3 D4
ANALOG BLOCK
6-BIT ADC
SIGNAL CONDITIONING BLOCK
PLL AND BIT SLICER
to demodulator
AGC AOC
001aab755
Fig 11. Bit recovery
A block diagram of the bit recovery is shown in Figure 11. The HF signal is combined from the 4 diode inputs inside the analog block. It is preprocessed (LPF, HPF, offset removal and gain adjustment) and then sampled by a 6-bit ADC.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
19 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
On the sampled HF, bit recovery is done by a full digital PLL and slicer. Before the sampled signal enters the PLL section, it is preprocessed by a signal conditioning block. This consists of an integrate and dump block, a high-pass filter and logic for gain control and offset control on the RF-signal in the analog section. For good playability on defects, a defect detector is used to hold the PLL, slicer, AGC, offset cancellation and high-pass filter during defects. The detected bits are then sent to the demodulator for sync extraction and EFM demodulation. For playing on damaged or out-of-spec disks, flywheels are used to make the sync extraction more robust. 6.6.5.1 Signal conditioning This device has a number of blocks which process the incoming 6-bit HF-signal:
* Integrate and dump block to adapt the frequency of the AD converter to the system
clock
* * * *
Peak detection logic for amplitude measurement Peak detection logic for DC offset measurement Digital high-pass filter with configurable cut-off frequency DC and gain control logic for on-board variable gain and offset control (in the analog section)
* A defect detector.
All blocks can be configured under microcontroller control.
ANALOG
ADC
INT/ DUMP
HIGH-PASS FILTER
HF-data to bit detection
PEAK DETECTOR
OFFSET MEASUREMENT
PEAK DETECTOR
AGC AOC
hold
DEFECT DETECTOR
001aab756
hold signals to bit detection
Fig 12. Signal conditioning
Integrate and dump block: The ADC delivers one sample every xclk period (equal to one sample every hf_clk period). The sample rate needs to be adapted from this xclk rate to the lower sysclk rate. For more information on sysclk speed, see Section 6.6.3 "Clock control" on page 17.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
20 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The integrate and dump block converts the incoming samples at the hf_clk frequency into a stream of one sample per sysclk period. It averages a number of samples to achieve this. If the division factor for the system clock is 2, 4, 8, 16, or 32, an average of 2, 4, 8, 16 or 32 incoming samples is taken and passed on further. The result is a gain in the number of effective bits of the analog-to-digital conversion. High-pass filter: A first order IIR high-pass filter with a variable 3 dB point is implemented. This can be used to filter the remaining DC jump on defects (analog HPF will have filtered off most). The cut-off frequency of the digital high-pass filter can be changed on the fly, by writing to register HighPassFiltCont. It is possible to reset the state of the high-pass filter, via bit 6 of register HighPassFiltCont. The input and the output of the high-pass filter is 8 bits wide. The high-pass filter is implemented in a '1 minus low pass' structure. It is possible to hold the low-pass filter on defects. For more information, see Section "Defect Detector" on page 25. The high-pass filter is driven by the system clock. Its bandwidth is also proportional to the sysclk. An approximate formula for the cut-off frequency, fc, of the high-pass filter is HPSet [ 5:0 ] f c, HPF = ---------------------------- x f sysclk 2 x 2 11 Peak detectors: There are 2 types of peak detectors present in the signal conditioning block. The first type works on an immediate attack / slow decay basis, and is used for measuring peaks, amplitude and offset for readback by software sending peak information to the defect detector. The second type works on the principle of detecting maximum and minimum peaks within a window, and is used for the AGC and AOC control logic. Both sets of peak detectors will look at the RF after it has passed an optional noise filter. This noise filter is an LPF with a programmable high cut-off frequency. This bandwidth is programmed via register PDBandwidth(NOISEFILTERBW) for the noise filter before the peak detectors of AGC/AOC and measurement read back. The defect detector peak detector has its own noise filter which is programmed via register DefectDetPeakBW(NOISEFILTBW). Peak detector with decay filter: The functional schematic of this peak detection is shown in Figure 13.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
21 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
S1 maxpeak noise filter HF_in C S2 minpeak
C
001aab757
Fig 13. Peak detection diagram with decay filter
The minimum and maximum peaks of the incoming signal are measured. Switch S1 takes the largest value at its inputs. Switch S2 takes the minimum value at its inputs. The time constant of the decay filters has to be long. The same bandwidth is used for the decay filters of both the minimum and maximum peak detectors. The decay filter for the maximum peak responds to the smallest value possible. The decay filter for the minimum peak responds to the largest value possible. The decay bandwidth of the measurement readback decay filter is controlled via register PDBandwidth(DECAYBW), the bandwidth of the defect detector is controlled via register DefectDetPeakBW(DECAYBW). The following settings of the decay filters are possible: C = 1 - 2-m, for m = 6 to 21, where m = DECAYBW[3:0] + 6. The corresponding bandwidths of the decay filter are shown in Table 4, when the frequency of the system clock is 10 MHz.
Table 4: m 6 7 8 9 Time constants of the decay filters, at sysclk = 10 MHz m 10 11 12 13 t (s) 102.4 204.7 409.6 819.2 m 14 15 16 17 t (ms) 1.64 3.28 6.55 13.11 m 18 19 20 21 t (ms) 26.21 52.43 104.8 209.7
t (s) 6.35 12.75 25.55 51.15
Peak detector based on window: The functional schematic of this peak detection is shown in Figure 14.
noise filter HF_in maxpeak
minpeak 0 window width
001aab758
Fig 14. Peak detection diagram with window
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
22 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The minimum and maximum peaks of the incoming signal are measured during a programmable window period. The highest and lowest value samples within this window are used to update maxpeak and minpeak. The window width of the measurement is controlled via AGCAOCControl(PDMEASWINDOW). AGC and AOC control block: The AGC control block controls the RF amplitude at the input of the ADC by controlling the gain of an on-chip analog gain amplifier. The AOC control block controls the RF offset at the input of the ADC by adding or subtracting offset just before the ADC. Both AGC and AOC loops are built up in the same manner and are pictured in Figure 15 with their relative position within the signal conditioning block.
G1
HIGH-PASS FILTER (ANALOG)
G2
G3
ADC
I/D
HIGH-PASS FILTER (DIGITAL)
to bit detection
6 MSBs INTEGRATOR
software/ defect K-offset +1 HI -1 LO
NOISE FILTER (LOW-PASS)
NOISE FILTER (LOW-PASS)
WINDOW PEAK DETECT
DECAY PEAK DETECT
DECAY PEAK DETECT
software/ defect 4 MSBs INTEGRATOR K-gain -1 HI
CLIPPING DETECT REGISTERS DEFECT DETECT
001aab759
+1 LO
Fig 15. AGC and AOC loops
First, the maximum and minimum peaks on the envelope of the RF signal after the ADC are measured via a noise filter and the window peak detector (see Section "Peak detectors" on page 21). After that, the amplitude is calculated as maxpeak - minpeak, and the offset as (maxpeak + minpeak) / 2. For tuning the loops, it is possible to read back the HFMaxPeak, HFMinPeak, HFAmplitude and HFOffset, as measured by the decay peak detector, from registers. AGC control: The RF-amplitude at the ADC input can be changed with 2 gain amplifiers in the analog part: G1 (fixed) and G2 (dynamic). G1 has a gain-range from 0 dB to 24 dB in 16 steps of 1.6 dB, while G2 has a range from 0 dB to 12 dB in 16 steps of 0.8 dB. Both gains can be programmed via register AGCGain. G1 will stay fixed, while G2 can be regulated in hardware as soon as the AGC is turned on. The AGC will regulate the gain such that the measured amplitude stays between a programmed upper threshold (AGCThrHi) and lower threshold (AGCThrLo). If amplitude is smaller, gain will increase; if amplitude is too large, gain will decrease. Whenever clipping is detected on one or two sides, gain will decrease as well. These gain changes are not sent to the analog gain amplifier directly, but are integrated over time. Only if on average a gain increase or decrease is requested, this will result in a real gain increase or decrease on the amplifier (the gain can also be read back via register AGCGain).
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
23 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Together with the noise filter on the peak detector this prevents noise occurring on the RF which would result in volatile gain regulation. To decrease volatile behavior even further a hysteresis window with a width of one gain step has been added between the integrator and G2. The bandwidth of the gain loop will determine how fast it reacts on fingerprints and scratches, and can be programmed via register AGCIntegBW. It is also possible to limit the range of G2 by programming a maximum and minimum boundary (in register AGCGainBound). AOC control: Most RF-offset at the ADC input will be removed by the analog HPF (first order HPF with 3 dB point around 3.6 kHz). The remaining offset (mainly introduced by the analog frontend itself), can be removed by adding or subtracting a fixed offset in the analog part. This offset subtraction or addition has a range of 32 steps in each direction, with approximately 1.4 LSBs per step (referenced to the RF-ADC). This leads to a full correction range of 42 LSB steps (more then the whole ADC range). This offset compensation value can be programmed via register OffsetComp, and will be regulated in hardware as soon as the AOC is turned on. The AOC will regulate the offset compensation value such that the measured offset stays within a programmed window (OffsetBound). If offset is above this window, OFFSETCOMPVALUE will decrease; if it is below, it will increase. If an inversion occurs on the RF signal between analog and digital, this reaction of the loop can be inverted by programming OffsetBound(OffsetInv). These offset changes are not sent to the analog offset subtraction directly, but are integrated over time. Only if on average an offset increase or decrease is requested, this will result in a real offset increase or decrease on the analog addition (can also be read back via register OffsetComp). Together with the noise filter on the peak detector this prevents noise occurring on the RF which would result in a volatile offset regulation. To decrease volatile behavior even further a hysteresis window with a width of one offset step has been added between the integrator an OffsetCompValue. The bandwidth of the offset loop will determine how fast it reacts on fingerprints and other defects, and can be programmed via register OffsetIntegBW. It is also possible to limit the range of the OFFSETCOMPVALUE by programming a maximum and minimum boundary (in register OffsetCompBoundHi and OffsetCompBoundLo). AGC and AOC in general and rules of thumb: The AGC and AOC hardware regulation loops can be enabled and disabled separately by register AGCAOCControl. This register also allows the use of a slow AGC and / or AOC loop. In that case the programmed loop bandwidth is decreased with an extra factor of 128. In this mode the loops will be too slow to react on defects, but can be used for a slow software-like gain and / or offset regulation to regulate the average gain and offset over the disc nicely within a specified range. An important feature is the AGCAOCControl(DISHOLDNOLOCK) bit, which disables holding of the AGC and AOC loops during defects (triggered by the defect detector, see Section "Defect Detector") while the HF-PLL is not in lock. This feature avoids permanent lockups of the loops caused by a small amplitude triggering the defect detector, which in turn would hold the AGC loop. As rule of thumb, the following should be taken into account: The amplitude thresholds should be programmed not too close to each other, to allow at least 2 gain steps (1.6 dB) to go from lower to higher boundary and vice versa. This is to avoid a volatile AGC.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
24 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The offset boundary should be programmed not too tight, 8 is a good value. This is to avoid a volatile AOC. The BW of the loops should never be programmed too high ('fast') with respect to the peak detector measurement window, to avoid an unstable loop. If the PDwindow = 2n sysclk's wide, the BW of the loops should never be higher than 2-(n+1). Defect Detector: The purpose of the defect detector is to detect the presence of black or white dots in the RF-stream, and to freeze some signal conditioning and bit recovery logic during these defects. This will prevent the control loops drifting away from their optimal point of operation whilst there is no RF present, so they can recover quickly when good RF is present again. The detection of a defect is based on amplitude. The amplitude is measured via a set of peak detectors with decay, as described in Section "Peak detectors" on page 21. The programming of the decay bandwidth and noise filter bandwidth is done by register DefectDetPeakBW. Two thresholds can be programmed. A low threshold will trigger a 'defect-detected' signal as soon as amplitude goes below this threshold. A high threshold will clear this 'defect-detected' signal again as soon as amplitude goes above this threshold. Together these thresholds add an hysteresis to the defect detection, which avoids a jittery 'defect-detected' signal (switching on/off many times) when amplitude is on the edge. Thresholds are programmed in register DefectDetThres. The defect-detected signal can be used to hold the PLL, slicer, AGC, AOC and HPF during a defect. Which feature(s) will be held can be programmed in register DefectDetEnables. The same register can be used via software to force the PLL, slicer and HPF into hold mode. The AGC and AOC can be held in software by just disabling the loops in register AGCAOCControl. Two special features exist on the defect detector:
* It is possible to delay the enabling and disabling of hold features at the beginning and
end of a defect. This can be done by programming a start and / or stop delay (in number of sysclks) via register DefectDetStartStopDelay. Whenever the defect detector detects the start of a defect, the detector will wait for the start delay before triggering a defect-detected-processed signal. When the defect detector detects the end of a defect, the detector will wait for the programmed stop delay before clearing the defect-detected-processed signal again. This also means that defects which are smaller than the start delay are ignored and, that if the defect contains zones with good RF amplitude but smaller than the stop delay, they are ignored as well. In reality all hold features are triggered by the defect-detected-processed signal, rather than the defect-detected signal; but after rest of the decoder, both delays are zero, so both signals are equal.
* It is possible to program a time-window after the end of a defect, during which higher
PLL and / or slicer bandwidths can be used (to speed-up the recovery of these loops after the defect). This window can be programmed via register DefectDetHighBWDelay, the programming of the bandwidths is explained in Section 6.6.5.2 "Bit detector" on page 26. The detection of the beginning or end of a defect, with and without start and stop delays, can be used to generate an interrupt. This is programmed in register InterruptEnable1.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
25 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.5.2
Bit detector
from signal conditioning
SRC -
NOISE FILTER
DIGITAL EQUALIZER
RL2 PUSHBACK
to demodulator
SLICE LEVEL DETERMINE clocked on PLL clock
ZERO TRANSITION DETECT
DIGITAL PLL RMS JITTER MEASUREMENT jitter value PLL frequency slice level
001aab760
multiplex 40 MEAS
Fig 16. Bit detection
The bit detector block contains the slice level circuitry, a noise filter to limit HF-EFM signal noise contribution, an equalizer, a zero-transition detector, a run length pushback circuit, a digital PLL and jitter measurement logic. All processing is done using the bit clock, and bandwidths are proportional to the channel bit rate. To achieve this, RF data is resampled in the system clock domain to the bit clock domain by using a sample-rate convertor. Blocks can be configured under microcontroller control and are described in detail in the next paragraphs. Noise filter: The digital noise filter runs on the channel bit clock frequency fb. It will limit the bandwidth of the incoming signal to 14 of the channel bit clock frequency: Passband: 0fb to 0.22fb Stopband: 0.28fb to (fb - 0.28fb) Rejection: -28 dB. Slice level determination: The slice level determination circuit compensates the incoming signal asymmetry component. Bandwidth of the slice level determination circuit is programmable via register SlicerBandwidth. Also the higher bandwidths for use after a defect (see Section "Defect Detector") are programmed in this register. The bandwidth is proportional to the channel bit clock frequency. The slice level, or asymmetry, can be read back via register SlicerAssym. Equalizer: In the bit detection circuit, a programmable equalizer is used, it boosts the high frequency content of the incoming signal. A five-tap presentable, asymmetrical equalizer is built in. The equalizer block diagram is given in Figure 17.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
26 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
in 1
D
D
D
D
D 1
+ - -
001aab761
out
Fig 17. Equalizer
The first and last tap can be programmed via register PLLEqualiser. Usable EFM bit clock range: The channel bit clock frequency should always obey the following constraints: It should be less than 2 x fsys It should be larger than 0.25 x fsys Or: 0.25 < fsys < 2. Only in this range a reliable bit detection is possible. If input channel bit rate is above 2 x fsys then the PLL will saturate to two times the system clock frequency fsys. Remark: While these are theoretical limits, a real-life application should keep a safety margin. When the bit clock is relatively low, the internal filter will filter off more noise, yielding a better performance. If the theoretical upper limit is approached, playability (e.g. black dot performance) will drop significantly. The decoder will only be able to correct the biggest correctable burst error of 16 frames if fbit/fsys < 1.7. Taken this restriction on the decoder into account, the range is: 0.25 < fbit/fsys < 1.7. Digital HF PLL: The digital PLL will recover the channel bit clock. The capture range of the PLL itself is very limited. To overcome this difficulty, two capture aids are present. When using automatic locking, the PLL will switch state based on the difference between expected distance and actual distance between syncs. In total, three different PLL operation modes exist: In-lock (normal operation); the PLL frequency matches the frequency of the channel bits with an accuracy error less than 1 % Inner lock aid (capture aid 1); the PLL frequency matches the frequency of the channel bits with an accuracy error between 1 % and 10 % Outer lock aid (capture aid 2); the PLL frequency deviates more than 10 % from the channel bit frequency. First, PLL operation during in-lock is explained. This is the normal on-track situation. After this, the lock-detection and the two capture aids are explained. PLL in-lock characteristics: The PLL behavior during in-lock can best be explained in the frequency domain. PLL operation is completely linear during in-lock situations. The open-loop response of the PLL (Bode diagram) is given in Figure 18.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
27 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
loop gain
f0 f1
frequency fLPF
001aab762
f1: IntegratorXover; controlled via KI. f0: PLLBandwidth; controlled via KP. fLPF: LPBandwidth; controlled via KF.
Fig 18. PLL Bode diagram
The frequencies f1, f0 and fLPF are programmable using register PLLBandWidth. The higher bandwidths for use after a defect (see Section "Defect Detector" on page 25) are programmed in register PLLBandWidthHigh. When the PLL is in-lock the recovered PLL clock equals the channel bit clock. Detection of PLL lock: The PLL locking state is determined by the distance between detected syncs. This means that the sync detection is actually doing the control of the automatic PLL locking. The PLL switches from outer lock to inner lock when successive syncs are detected to be 588 1 channel bits apart. Internally this is also called a winsync (sync falls in a wider window). The number of missed winsyncs is kept in a 3 bit confidence counter, and the PLL will go out of outer lock when 7 consecutive out-of-window syncs are found. The PLL switches from inner lock to in-lock when successive syncs are detected 588 1 channel bits apart. The number of consecutive missed syncs is kept in a bit counter, and saturates on either 16 or 61, depending on the value of bit lock 16 or 61 in register DemodControl. When the saturation level is reached, the PLL is set out of lock. The PLL frequency (inner) and phase (in) lock status can be read out in register PLLLockStatus. PLL outer lock aid: The outer lock aid has no limitation on capture range, and will bring the PLL within the range of the inner lock aid. The PLL will first regulate it's frequency based on detecting RL3s as the smallest possible RLs (fast but rough regulation), and next on detecting RL11s as the largest possible RLs (slow but more accurate). PLL inner lock aid: The inner lock aid has a capture range of 4 %, and will bring the PLL frequency to the phase-lock point. It will regulate the PLL frequency such that 588 bits are detected between 2 EFM-syncs.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
28 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Influencing PLL behavior: Programmability and observerability is built into the PLL mainly for debugging purposes, and also to make difficult applications possible. The PLL operation can be influenced in two ways. First, it is possible to hand-select the state the PLL is in (in-lock, inner lock, outer lock, outer lock with only RL3 regulation). Second, it is possible to pre-set the PLL frequency to a certain value. Overruling the PLL's state: PLL state can be:
* * * * *
In-lock Inner lock Outer lock Outer lock with RL3 regulation only Hold.
Normally, selection is done automatically using the lock detectors. Selection can be overruled via register PLLLockAidControl. When LOCKMODE is left to `0', user can still select lockstate, but hardware will overwrite this if hardware selected lockstate means closer to lock.
Table 5: 0 1 1 1 1 1 x PLL states PLLLockControl 00000 00001 00110 00100 01000 10100 others Meaning automatic lock behavior force HF PLL into in-lock force HF PLL into inner lock aid force HF PLL into outer lock aid force HF PLL into hold mode force HF PLL into outer lock aid with RL3 regulation only reserved
LOCKMODE
Remark: During PLL hold' the frequency will not change and the frequency pre-set may be used. Writing the PLL frequency: It is possible to preset the PLL frequency to a certain value. This is done by writing the integrator value of the PLL in register PLLIntegrator. The relationship between the bit frequency, the integrator value, and the sysclk frequency is PLLFreq [ 7:0 ] + 4 given by: f channelbit = --------------------------------------------- x f sysclk 128 The real-time value of the PLL frequency can be read on the same address. 6.6.5.3 Limiting the PLL frequency range The range over which the PLL can capture the input frequency can be limited. The minimum and maximum PLL frequencies are set in bits MININTFREQ respectively MAXINTFREQ of register PLLMinMaxBounds.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
29 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.5.4
Run length 2 pushback detector If this circuit is switched on, all run length 1 and 2 symbols (invalid run lengths) are pushed back to run length 3. For RL2s, the circuit will determine the transition that was most likely to be in error, and shift transition on that edge. This feature should always be turned on, but can be deselected via register RL2PushBack.
6.6.5.5
Available signals for monitoring The operation of the bit detector can be monitored by the microcontroller and using an external pin. Several signals are made available for measurement. PLL frequency signal: The first signal that can be monitored is the PLL frequency signal. Monitoring via the microcontroller is done by reading the register PLLIntegrator. Asymmetry signal: The second signal that can be monitored is the 8-bit asymmetry signal. The signal is in 2-complement form and can be read from register SlicerAssym. Jitter signal: A jitter measurement is done internally. The zero-crossing jitter is available in register PLLJitter. The jitter measurement is done in two steps. First, the distance between the EFM zero transition and the bit clock zero transition is measured.
Table 6: Jitter input calculation Average distance (bit clocks) Jitter filter input (5-bit decimal integer)
1 16 3 16 5 16 7 16
Distance (x fbit) < 216
2 16 4 16
1 9 25 49
to 416 to
6 16
>
6 16
Second, the calculated jitter for the zero transition is averaged using a 10-bit low-pass filter. The top 8 bits of the filter output can be read back from register PLLJitter. To obtain the jitter in % of the channel bit clock, the following formula applies: jitter = jitter [ 7:0 ] - 2.83 ------------------------------------------ x 100 % 1024
This jitter measurement is also available via the telemetry signal on pin MEAS. On this signal, the full 10-bit output of the filter is available - see Section 6.6.5.6 "Format of the measurement signal on MEAS pin". It is also possible to read out an average jitter value via register PLLAverageJitter. This value is an average over a period of 8000 bit clocks on the normal jitter value. The formula to transform this into % is the same: average jitter = average jitter [ 7:0 ] - 2.83 ------------------------------------------------------------------ x 100 % 1024
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
30 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Use of jitter measurement: The jitter measurement is an absolute-reference jitter measurement. It gives the average square value of the bit detection jitter. The jitter is measured directly before the bit detection in this device, and contains contributions due to various imperfections of the complete signal path: (Note that bit-to-clock jitter is measured.)
* * * * * *
Disc Analog preamplifier AD converter Limited bandwidths in this device Limited PLL performance Influenced by internal noise filter, asymmetry compensation, equalizer.
The jitter measurement is absolute-reference, because it relates directly to the EFM bit error rate if the disc noise is gaussian. Internal lock flags: The fourth signal that can be monitored are three flags in the PLLLockStatus register: the internally generated inner lock signal FLOCK, the internally generated lock signal INLOCK and a LONGSYM(bol) flag when run length 14 is detected. (Too high run length). In automatic mode, the FLock and INLOCK flags determine what type of PLL capture mode is used.
Table 7: Determining the current PLL capture mode INLOCK Flag 0 1 x 0 0 1 Capture mode outer lock aid inner lock aid in-lock
FlOCK FLag
6.6.5.6
Format of the measurement signal on MEAS pin On this serial bus, which is output via pin MEAS and should be monitored using CL1 (available via another pin), three measurement signals are multiplexed together. Figure 19 gives details on the format.
pause
start bit
data bits
001aab763
Fig 19. Signal format on measurement pin MEAS
The data is sent in a serial format. It consists of a pause, followed by a start bit. The start bit is followed by data bits. The bit length is four system clock periods, the frame length is 64 bits and the data format is shown in Table 8.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
31 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Data format on measurement pin MEAS Value 1 jitter[9:0] 0 1 pllfreq[9:0] 0 1 asym[7:0] 0 1 jitter[9:0] 0 intermediate start bit second sample of jitter word pause
[2]
Table 8: 0 1 to 10 11 12 13 to 22 23 24 25 to 32 33 to 35 36 37 to 46 47 to 63
[1] [2]
Bit number
Description start bit first sample of jitter word intermediate start bit PLL frequency word intermediate start bit slicer level
Note
[1] [2]
The start bit is always preceded by 17 pause bits. The intermediate start bits at bit locations 12, 24 and 36 guarantee that no other '1'-value is preceded by 17 '0'-bits. This allows a simple start bit detection circuit. The jitter word is sampled twice in every frame. The jitter in % is calculated with the following formula:
jitter = 6.6.5.7 Demodulator
jitter [ 9:0 ] - 12.81 --------------------------------------------- x 100 4096
%
The demodulator block performs the following functions
* EFM demodulation using a logic array * sync detection and synchronization * sync protection.
6.6.5.8 EFM demodulation Each EFM word of 14 channel bits (which are separated from each other by three merging bits) is demodulated into one data byte using the standard logic array demodulation as described in the CD red book. 6.6.5.9 Sync detection and synchronization The EFM sync pattern is a unique pattern which is not used anywhere else in the EFM data stream. It consists of 24 bits: RL11 - RL11- RL 2. An internal sync pulse is generated when two successive RL11s are detected. A subsync pulse occurs when the beginning of a new subcode frame is seen. This is done by analyzing the subcode information: when two successive subcodes are subcode-sync-code S0 and S1, subsync will be activated. 6.6.5.10 Sync protection The subsync pulse is protected by an interpolation counter, this counter uses the fact that a subcode frame is always 98 subcode symbols long. The sync signal itself is also interpolated. If after 33 data bytes (= 1 EFM-frame), no new sync is detected, it is assumed that the bit detector has failed to correctly achieve it, and the sync signal is generated anyway, this is generally called an `interpolated sync'. If
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
32 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
furthermore a new sync is detected in the data shortly after a previous sync signal (interpolated or real) no new sync signal will be generated, because this means the frame has `slipped'. After enough data byte periods, the sync signals are allowed to pass again. There is a small chance it is possible to detect `false' syncs, causing corrupted EFM bits to form by accident in the combination RL11-RL11. If 2 (or 3) of such false syncs are detected at the correct distance from each other, this would cause a false resync of the demodulator. Such resync could lead to a large number of samples being corrupted at the output of the CIRC decoder. Chance of false sync detection is highest during defects (black and white dots). To prevent such false demodulator resyncs, two features have been built in, which are both programmable via register DemodControl:
* ROBUSTCNTRESYNC; this feature should always be turned on; when it is on, the
demodulator will look for 3 (instead of 2) consecutive syncs with correct in-between distance before resyncing; this will improve robustness to false syncs substantially
* SYNCGATING; when `1', the sync-detection is turned off during a defect, to avoid the
detection of false syncs; when `0', sync detection is left on all the time; it should be noted that the defect detector needs to be setup properly before this feature can be used; therefore this feature is turned off by default after reset.
6.6.6 CD decoding
6.6.6.1 General The decoder block performs all processing related to error correction and CIRC de-interleaving and uses an internal SRAM FIFO which provides the necessary data capacity for doing this. It also extracts the Q-channel subcode and the CD-TEXT information from the data stream and delivers it to the application via a register interface. 6.6.6.2 Q-channel subcode interface The channel decoder contains an internal buffer which stores the Q-channel bytes of a CD-subcode-frame. This subcode can be retrieved by the microcontroller by accessing the registers SubcodeQStatus, SubcodeQData and SubcodeQReadend. To start retrieving the subcode, the microcontroller must read the register SubcodeQStatus first. This register contains various status bits that indicate the status of the Q-subcode that may be read. When, after reading the register SubcodeQStatus, the QREADY bit is found `1', the Q-subcode interface will be blocked (indicated by QBUSY going to `1') to prevent a new subcode overwriting the current one. Bit QCRCOK indicates if the current subcode frame had correct data content by a hardware CRC check. After reading SubcodeQStatus with QREADY = '1', the microcontroller may retrieve as many subcode bytes as required (max. 10) by issuing subsequent reads to register SubcodeQData. The content of the Q-channel subcode in the main data area is described in Table 9. For description of the content during the lead-in area, see CD red book.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
33 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Subcode Q-channel frame content Name CONTROL/MODE TNO POINT REL MIN REL SEC REL FRAME ZERO ABS MIN ABS SEC ABS FRAME Mod100 Mod 60 Mod 75 0 or incremented modulo 10 Mod100 Mod 60 Mod 75 absolute time relative time Description Remark
Table 9: 1 2 3 4 5 6 7 8 9 10
Address/Byte
After finishing subcode read the microcontroller must release the interface to allow the decoder to capture new subcode information. This is done by issuing a read to register SubcodeQReadend. The availability of a new subcode frame will also trigger an interrupt if bit InterruptEnable2 (SUBCODEREADYENABLE) is set. 6.6.6.3 CD-TEXT interface The channel decoder contains an internal buffer which stores CD-TEXT information (format 4, available in the lead-in area). The buffer can hold one CD-TEXT pack for readback, while it receives at the same time the next pack. The operation of the CD-TEXT readback interface is controlled via register CDTEXTControl. Bit FREEZEEN determines whether or not the internal buffer is frozen during readback (such that the next pack can not overwrite the current one before the microcontroller has finished reading). Bit CRCFAILEN determines whether or not packs with a failing CRC check are made available for readback. This subcode can be retrieved by the microcontroller, by accessing the registers CDTEXTStatus, CDTEXTData and CDTEXTReadEnd. To start retrieving the CD-TEXT pack, the microcontroller must read the register CDTEXTStatus first. This register contains various status bits that indicate the status of the CD-TEXT pack that may be read. When, after reading the register CDTEXTStatus, the TEXTREADY bit is found `1', the CD-TEXT interface will be blocked (indicated by TEXTBUSY going to `1') to prevent new subcodes overwriting the current one; at least if CDTEXTControl(FREEZEEN) is turned on. Bit TEXTCRCOK indicates if the current CD-TEXT pack had correct data content by a hardware CRC check. After reading CDTEXTStatus with TEXTREADY = '1', the microcontroller may retrieve as many CD-TEXT bytes as required (maximum 16) by issuing subsequent reads to register CDTEXTData. After finishing CD-TEXT read the microcontroller must release the interface to allow the decoder to capture new CD-TEXT information. This is done by issuing a read to register CDTEXTReadEnd.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
34 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Remark: If CDTEXTControl(FREEZEEN) is disabled, the interface is not held during readback, which means that the current CD-TEXT pack can be overwritten by the next one before all bytes of the current pack are read out. Such an event will be indicated by setting CDTEXTReadEnd(BUFFEROVERFLOW) to `1', so that it can be noticed by software at the end of the pack-read. The availability of a new CD-TEXT pack will also trigger an interrupt if bit InterruptEnable1(CDTEXTREADYENABLE) is set. 6.6.6.4 Main data decoding Data processing: The CD main data is de-interleaved and error-corrected according the CD red book CIRC decoding standards and uses an internal SRAM as buffer and FIFO. The C1 correction will correct up to two errors / EFM-frame, and will flag all uncorrectable frames as an erasure. The C2 error correction will correct up to two errors or four erasures, and will also flag all uncorrectable frames as an erasure. The decoding operation is controlled by the DecoMode register. There are basically two decode operation modes:
* In flush mode, the de-interleaver tables are emptied, and all internal pointers are
reset. No data is written into the buffer, no corrections are done, and no data is output
* In play mode, de-interleaver tables are filled, C1 / C2 corrections are done, and data is
output (when available). During flush mode, no data is output from the device. During play mode, data is output via the I2S-bus interface as soon as it is available in the internal FIFO. Figure 20 shows the operation of the FIFO and corrections during CD playback.
FIFO filling 'd' de-interleave C1 correct FIFO 'D' de-interleave C2 correct Delta de-interleave
data from demod
to I2S-bus back-end
001aab764
Fig 20. Data processing during CD mode
De-interleaving of the data is done in accordance with the red book specification. De-interleaving is performed by the SRAM FIFO address calculation functions in the memory processor. Two corrections are done - C1 followed by C2. Data latency and FIFO operation: The system data latency is a function of the minimum amount of data required in the FIFO to perform the de-interleaving operation. The latency is quoted in the number of C1 frames (24 bytes of user data). The latency of the CIRC decoder is 118 frames.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
35 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The FIFO filling is defined as this `data latency' plus the number of extra frames stored in the FIFO. The filling of the FIFO must be maintained within certain limits. 118 frames is the minimum required for de-interleaving and 128 is the physical maximum limit determined by the size of SRAM used. This results in a usable FIFO size of 11 frames. The status of FIFO filling can be read back via register FIFOFill. The FIFO filling must have a correct value. This can be achieved in 2 ways:
* Master (Flow Control) mode: this mode is selected when using a gated bit clock (bclk)
at the I2S-bus interface, see Section 6.6.7.9 "I2S-bus interface" on page 41 for more information. As soon as a frame is available in the FIFO, it is output via the I2S-bus interface. When FIFO underflow is imminent, the decoder will gate off the output interface by disabling bclk.
* Slave (audio) mode: In this case, the bit clock is continuously clocking. The
application is responsible for matching the input rate (EFM bitrate coming from the disc) to the selected output rate (I2S-bus bclk speed), and keeping FIFO filling between 118 and 128. This is done by regulating the disc speed. See Section 6.6.8 "Motor" on page 44 for more details. The FIFO is only storing data, not subcode. This means that the data will be delayed as it comes from the demodulator, but the subcode is sent straight over the I2S-bus interface. The difference in delay between subcode and data is always fixed. It is absolutely fixed in master mode, but can have small local variations during slave mode. Safe and unsafe correction modes: The CD CIRC decoding standard uses a Reed-Solomon error correction scheme. Reed-Solomon error correction has always a very small chance of miscorrection, which means that a corrupted codeword is modified into a valid but wrong codeword. The chance of such miscorrections increases exponentially for every extra byte that needs to be corrected in a codeword, and is the highest when doing the maximum number of corrections possible with a certain Reed-Solomon correction scheme. Miscorrections should be avoided, since they will result in corrupted data being sent to the back-end, without their corresponding invalid flag being set. Certainly for CD-Audio this is a problem, since unflagged wrong data will not get interpolated, which can result in audible clicks. Both C1 and C2 correction logic can be programmed to operate in an `unsafe' or `safe' mode via register ErcoControl. In unsafe mode, the maximum number of corrections will always be done (if required). In safe mode, corrections will not be done when they are considered at risk, which means there is a realistic chance they could lead to a miscorrection. For C1, unsafe mode will allow 2 bytes per codeword to be corrected, safe mode only 1. For C2, both modes will allow up to 4 erasures per codeword to be corrected. When there are more then 4 erasures and therefore erco switches back to error correction, unsafe mode will allow 2 bytes to be corrected, safe mode only 1. Remark: From experiments and theory it is advised to use C1 unsafe and C2 safe for CD-Audio as a good trade-off between safety and maximum error correction capability. For CD-ROM C1unsafe and C2unsafe can be used, if there is at least a C3 error correction and if the flywheels in the CD-ROM block decoder are robust to possible invalid but unflagged headers.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
36 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.6.5
Error corrector statistics CFLG: The error corrector outputs status information on the CFLG pin. The format of this information is serial, similar to that used on the MEAS pin. The serial format consists of a pause bit followed by a start bit. This start bit is followed by the data bits. The format of the data is explained in Table 10. The bit length is 7 sysclk periods and the frame length is 11 bits.
Table 10: Bit no 0 1 to 3 4 5 9 and 6 to 8 10
[1] [2]
Format description of CFLG serial bus Value 1 CORMODE[2:0] FLAGFAIL CORFAIL ERRORCOUNT[3:0] 0 Meaning start bit type of correction failure flag set because correction at risk failure flag set because correction impossible number of errors corrected pause bit Note
[1] [2] [3] [3] [4] [1]
The repetition rate on the CFLG signal is not fixed. May be longer or shorter depending on disc speed and output interface speed. There is always at least one pause bit. CORMODE definition: `000': C1 correction `011': C2 correction `100': corrector not active Others: not used CORFAIL and FLAGFAIL indicate failure status on previous codeword ERRORCOUNT indicates the number of errors found in the Chien search.
[3] [4]
BLER counters: There is also a set of two BLER counters which count the number of frames (C1 / C2) with at least one error (for C2, erasures coming from C1 will also be counted). It doesn't matter whether the frame was correctable or not. These registers are reset on read, and the user is responsible for reading them in regular intervals. The BLER counters can be read on C1Bler and C2Bler.
6.6.7 Audio back-end and data output interfaces
The channel decoder back-end is shown in Figure 21.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
37 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
MEMPROC
INTERPOLATE/ HOLD
SOFT MUTE
HARD MUTE
EBU
EBU
ERROR DETECT DE-EMPHASIS UPSAMPLE I2S-BUS I2S-bus
SILENCE DETECT
KILL GENERATION
left KILL right KILL
001aab765
Fig 21. Back-end audio functions
Decoded and error corrected CD-data streams into the audio back-end from the memory processor to the output interfaces. Some audio filtering can also be done (in case of playing CD-DA). 6.6.7.1 Audio processing The following audio features are present at the back-end:
* * * * * * * *
Interpolate / hold for I2S-bus and EBU Soft mute for I2S-bus and EBU Hard mute for EBU De-emphasis filter for I2S-bus Upsample filter for I2S-bus Error detection Silence detection Kill generation.
Some status bits concerning these audio features can be read back via register MuteKillStatus. 6.6.7.2 Interpolate and hold On CD audio disks with many (large) defects, where C1 / C2 correction can not correct all errors, the audio data can be interpolated / held, to avoid audible clicks and plops when playing back the disk. This feature is enabled by setting FilterConfig(INTERPOLATEEN). The principle is depicted in Figure 22.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
38 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
interpolation
hold
interpolation
OK
error
OK
error
error
error
OK
OK
001aab766
Fig 22. Error concealment on CD audio
Audio samples flagged as uncorrectable, neighbored by 2 good samples - or a held and a good sample, will be interpolated. Audio samples flagged as uncorrectable, which are not followed by a good sample, will hold the previous (correct or held) sample value. This feature is enabled or disabled for I2S-bus and EBU together. 6.6.7.3 Soft mute and error detection The audio data going to the I2S-bus and/or EBU interface can be processed by a soft mute block. This block can ramp the audio volume down from 0 dB to -90 dB, making use of 64 stages of about 1.5 dB each. The current stage can be monitored and changed in software by reading or writing register MuteVolume. This allows the implementation of a software mute-scheme. If the hardware mute logic is triggered by the error detection block (see Section 6.6.7.4), it will ramp the volume down from maximum till fully muted in 3/N ms, with N the X-rate of the disc. The mute logic can be enabled separately for the I2S-bus and EBU outputs, by setting the corresponding bits in register MuteConfig. The back-end also contains an error detection block, that scans the data for a programmable number (via register MuteOnDefectDelay) of consecutive corrupted stereo samples. If such a pattern is found, and MuteConfig(MUTEERREN) is turned on, the softmute will be triggered to start its volume ramp down. This detection will also trigger a InterruptStatus1(AUDIOERRORDETECTED) interrupt. 6.6.7.4 Hard mute on EBU The EBU can be hard muted (EBU main data and flags set to 0, status and user channel still valid) by setting EBUConfig(EBUHARDMUTE). 6.6.7.5 Silence detection and kill generation The silence detector looks for 250 ms of digital silence (2's complement data = all `1's or all `0's) on either one or both channels and can trigger the kill-logic when it is found. Enabling of this feature is done via KillConfig(KILLSILENCEEN). The kill-logic generates a left and a right kill signal, which are brought out of the channel decoder and can be used to gate the left and the right channel of an audio DAC. The kill signals can be triggered on both channels together by the detection of stereo-silence, or on each channel separately by the detection of mono-silence. Which operation is active depends on the setup in register KillConfig. It is also possible to set the left and right kill signals in software by writing directly to the KILLLEFT and KILLRIGHT bits in this register.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
39 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Another condition that will set both left and right kill signals is the soft mute block reaching `fully muted' (volume-stage 0). 6.6.7.6 De-emphasis filter This feature only affects the I2S-bus, not the EBU output. The de-emphasis filter can be used to remove pre-emphasis from tracks which have been recorded making use of the standard emphasis as described in the CD red book. The de-emphasis filter has the inverse response of the emphasis characteristics as described in the standard; see Figure 23.
gain (dB)
0 dB
-10 dB
= 50 s (3.18 kHz)
= 15 s (10.6 kHz)
001aab767
frequency (kHz)
Fig 23. De-emphasis characteristics
Control over the de-emphasis filter is done via FilterConfig(DEEMPHCONTROL). The filter can be enabled or disabled under software control, or be fully automatic in hardware. In the latter case, the filter will be turned on when a pre-emphasis bit is detected in the control byte of the Q-channel subcode, and turned off when this bit is missing. There are two possible detection modes:
* According to red book; only a pre-emphasis bit is checked (so is allowed to change)
during the lead-in area, and during pauses between tracks
* According to orange book; pre-emphasis is checked on every subcode frame.
6.6.7.7 Upsample filter (four times) This feature only affects the I2S-bus, not the EBU output. When it is enabled, the audio data will be upsampled by a factor of four. The upsampling provides the frequency response described in Table 11.
Table 11: Pass band 0 kHz to 9 kHz 9 kHz to 20 kHz Upsample filter frequency response Stop band 24 kHz 24 kHz to 27 kHz 27 kHz to 35 kHz Attenuation 0.001 dB 0.03 dB 25 dB 38 dB 40 dB
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
9397 750 13697
Objective data sheet
Rev. 01 -- 20 June 2005
40 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Upsample filter frequency response ...continued Stop band 35 kHz to 64 kHz 64 kHz to 68 kHz 68 kHz 69 kHz to 88 kHz Attenuation 50 dB 31 dB 35 dB 40 dB
Table 11: Pass band -
When upsampling is enabled, the audio data output rate on the I2S-bus interface will be four times higher than without upsampling. Therefore the I2S-bus word clock (pin WCLK) frequency has to be four times higher. This means that the I2S-bus bit clock (bclk) speed needs to be programmed to be four times higher speed then normally required for that bit-rate when upsampling would be disabled. Another result of the upsampling is that every sample will have 18 bits precision instead of 16 after the upsample filter. To make use of this extra bit-precision, the user should select 24-bit or 32-bit I2S-bus format. When using 16-bit I2S-bus format, the 2 lowest bits will not be output. 6.6.7.8 Data output interfaces There are 3 interfaces via which data can be output from the channel decoder block.
* Main data can be output via I2S-bus * Subcode can be output via the subcode interface * Main data + subcode can be output via EBU/SPDIF.
All interfaces can be used at the same time if needed, although there are a few restrictions on the EBU, see Section 6.6.7.10 "EBU interface" on page 42. 6.6.7.9 I2S-bus interface The I2S-bus is a 6 wire interface (four main and two subcode). It supports 16-bit, 24-bit and 32-bit I2S-bus and EIAJ (Sony) modes. Timing is shown in Figure 24. The required format can be selected in register IISFormat.
bclk
DATA
D0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
D15
D14
EF
flag - MSB (1 is unreliable)
flag - LSB
flag - MSB
WCLK
left
right
SYNC
001aab768
Fig 24. I2S-bus format 1; 16 clocks per word
Compliant with the I2S-bus specification, the I2S-bus signals WCLK, DATA, EF and SYNC are all clocked on the falling edge of the I2S-bus bit clock signal bclk.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
41 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
* Bclk: all other I2S-bus signals are clocked on bclk * WCLK: indicates the start of a new 16/18-bit word on the dataline, and differentiates
between left and right sample
* DATA: 16/18-bit data words are outputted via this line, 1-bit / bclk-period * Error Flag (EF): contains the byte reliability flag; bytes that are indicated as erasures
(possible errors) after C1 and C2 correction, are flagged.
* SYNC: indicates that the serial subcode line contains the MSB of a subcode word; it
will be asserted every six WCLK periods for half a WCLK period. If a subcode sync is transferred on the subcode line, this signal will be asserted for a full WCLK period. The I2S-bus interface can either work in master or slave mode. In master mode, the bclk can be gated off by the channel decoder. In slave mode, the bclk is continuously running. To prevent the internal FIFO from overflow, the filling of the buffer must be regulated (see Section "Data latency and FIFO operation" on page 35). Bclk and WCLK can either be input (generated outside the channel decoder) or output (generated internally in the clock control block). Selection can be done via bits WCLKSEL and BCLKSEL in register IISConfig. The I2S-bus output rate is determined by the speed of the bclk, which is configured via register BitClockConfig. The I2S-bus interface can be configured to run at 1 x, 2 x, 4 x or 6 x CD (not available for I2S-bus 24). In case of gated bit clock, when BitClockConfig(BCLKGEN) is `1', the speed must be configured such that the maximum rate available on the bus is 20 % higher than the average data throughput rate. Or in other words: the bus should have at least 20 % idle time in between 2 bursts of data. Default after reset, the I2S-bus pins on the IC will be put into 3-state. They can be activated via register IISConfig. This register also contains the possibility to kill the I2S-bus interface, such that all dataline outputs go LOW. 6.6.7.10 EBU interface The channel decoder contains a digital one wire EBU or SPDIF output interface. It formats data according to the IEC60958 specification. The EBU rate can be selected to be 1 x, 2 x, 4 x or 6 x CD, by programming register EBUClockConfig. For proper operation of the EBU interface, the I2S-bus bit clock must be internally generated, bitclock gating must be disabled and the following relationship between EBUClk, bclk, WCLK and I2S-bus format must be true: EBUClk = WCLK x 64 Some fields in the user channel of the EBU-stream can be filled in by software, configured via register EBUConfig. Bit IISConfig(KILLEBU) contains the possibility to `kill' the EBU interface, so that the line outputs go LOW.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
42 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.7.11
Subcode interface Subcode data is output via the IISSubo (pin V4) port. This data can be sampled using the I2S-bus SYNC signal (see Section 6.6.7.9 "I2S-bus interface" on page 41). The SYNC indicates that the serial subcode line IISSubo contains the MSB of a subcode word. It will be asserted every six WCLK-periods for half a WCLK-period. If a subcode SYNC is transferred on the subcode line, this signal will be asserted for a full WCLK period. During normal operation (upsampling disabled), the subcode output via IISSubo will have the format as shown in Figure 25.
1 subcode byte every 24 I2S-bus bytes WCLK
IISSubo
B7 (start)
B6
B5
B4
B3
B2
B1
B0
B7 (start)
B6
B5
B4
SYNC
001aab769
Fig 25. Subcode output; upsampling disabled
When upsampling is enabled, the I2S-bus interface will run at four times the non upsampled rate. The subcode bit period however will stay at the non-upsampled rate as shown in Figure 26. This means that the IISSubo and SYNC signal will appear to be four times slower relative to the WCLK. In this case the receiver must use the WCLK divided by four to sample the subcode.
WCLK
IISSubo
B7 (start)
B6
B5
B7 (start)
B6
SYNC
S0 2 x upsample WCLK periods (0.5 x non upsample WCLK period)
S1
S0
24 x upsample WCLK periods (6 x non upsample WCLK periods)
001aab770
Fig 26. Subcode output; upsampling enabled
When slave mode is used, without bclk gating, it is also possible to use the IISSubo output port as a true single-line interface. In that case the receiver needs to sample the data on the line with a frequency equal to fWCLK x 2 (since subcode is output at a rate of one bit per half WCLK). Two characteristics of the interface can be used in this case to synchronize the bit and byte detection in the stream in the absence of a SYNC signal:
* The first bit (P-bit) of a subcode-byte is used as a start-bit and therefore always `1' (so
no real P-channel information is available on the interface). Between two subcode bytes there are four zero-bits; this can be used to identify the start of the subcode bytes within the stream.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
43 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
* The subcode syncs S0 and S1 are presented as all zeros on the interface (even
P-channel), such that the last subcode byte of a subcode-frame, and the first byte of the next frame are separated by 28 zero-bits. This can be used to identify the start of the subcode-frames within the stream.
6.6.8 Motor
A block diagram of the motor interface is given in Figure 27.
0 PLL frequencey
frequency setpoint - +
overflow detect
overflow detect 65, 66 MOTO1, MOTO2
PDM/PWM MODULATOR G SW1 Kl KI_Mult INT 24 T delay SW2 KF KF_Mult preset/readback
FIFO filling
filling setpoint - +
GE M motor analog output stage gain
001aab771
Fig 27. Motor servo
The motor interface consists of a PI filter and a PDM/PWM modulator. When put in a closed loop, the motor controller can control both speed, frequency and position error (FIFOFILL). It can be operated as a P, I or PI controller, by switching on and off the appropriate switches (SW1 and SW2). The frequency and position error integrator gain, KI and KF, and gain G are programmable. Frequency and filling set points are also programmable. The frequency input source can be selected between PLL frequency and 0 Hz. The position input source is always FIFO filling. When operated in a stable operation point in closed loop, the motor controller will regulate the frequency input source and the FIFO filling to their respective set points, this is implemented by speeding up or slowing down the motor by changing the DC content in the PDM/PWM output motor signals. All motor parameters can be configured by programming the motor registers. 6.6.8.1 Frequency set point When operating the motor in CLV mode, based on EFM, for a certain overspeed, the motor frequency set point to be programmed is given by N x 4.3218 x 10 6 motor frequency set point [ 7:0 ] = 256 x 1 - ----------------------------------------- where fsys is the system 2.667 x f sys clock frequency and N the overspeed factor.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
44 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The set point can be programmed via register MotorFreqSet. The selection of the motor frequency input is programmed via MotorGainSet2(MotorFreqSource). 6.6.8.2 Position error The position error will be used to fine tune the motor speed during `slave mode', where the incoming EFM-bitrate is locked on the programmed fixed I2S-bus bclk output speed. The set point must be chosen between 118 and 128, since this is the usable FIFO size in the decoder. See Section "Data latency and FIFO operation" on page 35 for more information. The set point can be programmed via register MotorFifoSet. 6.6.8.3 Motor control loop gains (KP, KF and KI) The control loop gains are all programmable through registers MotorGainSet1 and MotorGainSet2. To be able to set integrator bandwidth low enough at high system clock speeds an extra divider for the factors KI and KF is added. These factors can be written through the register MotorMultiplier. The resulting KI(tot) is then the KI multiplied by KI_Mult. The resulting KF(tot) is then the KF multiplied by KF_Mult. The integrator bandwidth must be scaled with the same factor KI_Mult. Please note the following:
* KF_Mult operates by sampling the input; e.g. for KF_Mult = 1, every sample of the
input is passed through the integrator circuit, for a KF_Mult of 0.5, every second sample is passed through, for a KF_Mult of 0.25, every fourth sample is passed through, and so on
* For a DC input signal, KF x KF_Mult should always give the same result. If however,
the input varies quickly, the KF x KF_Mult combinations with the same product will not always give the same result, especially for low values of KF_Mult, where the sampling in the extreme becomes 1 out of every 128 samples. (The input samples to the block that performs the KF_Mult multiplication occur at a rate of 1 sample every 24 system clock periods.). Sub-sampling might affect the actual resulting gain.
6.6.8.4
Operation modes The motor controller mode is programmed via register MotorControl. It can operate in open loop by just sending a fixed power to the motor for start-up and stopping, closed loop, or shut down. It also selects between PDM and PWM format. Motor start and stop modes will put a fixed duty cycle PWM or fixed density PDM signal on the motor outputs. During start or stop, motor speed can be monitored by reading MotorIntLSB and MotorIntMSB. MotorOv: When not setting the appropriate gains in the loop, an overflow might occur inside the PDM/PWM modulator block, or in the programmable gain stage. This is signalled by the MotorOv interrupt, which can be read back on InterruptStatus2. The interrupt disappears when the overflow disappears. MotorOv can also automatically open SW1/SW2. This is enabled by writing a `1' to bit OVFSW in register MotorControl.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
45 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.6.8.5
Writing and reading motor integrator value It is possible to obtain the integrator value by reading the registers MotorIntLSB and MotorIntMSB. The integrator can be written at the same location. By opening all switches, the user can bypass the whole control and filter part, and just use the block as a DAC for the motor drivers. The control part can then be done in software.
6.6.8.6
Some notes on application motor servo The motor servo can be used to control the motor during CLV playback and also during CAV or pseudo-CLV lock-to-disc or jump mode.
* In CLV mode, both SW1 and SW2 must be closed * In CAV / pseudo-CLV mode, SW2 must be open and SW1 may be open * The motor servo will revolve the disc at the speed corresponding to the frequency set
point; in CLV mode with lock to EFM, the frequency set point must be set equal to the desired readout frequency of the HF-PLL
* Accelerating the disc must be done in one of the start modes * Braking the disc must be done in one of the stop modes. 6.7 Digital Servo - PDSIC
The digital servo block on SAA7806 is an evolution of the design used for the SAA7824 IC, and is referred to as Parallel Digital Servo IC (PDSIC). The `parallel' description refers to the microcontroller interface to the servo block - this is now a high speed parallel interface, whereas it was previously a serial interface (e.g. a SAA7824 3/4 wire, I2C-bus). The other features of the PDSIC are:
* * * * * * * * * * *
Programmable ADC for CD-RW playback compatibility Diode signal processing Signal conditioning Focus and radial control system Access control Sledge control Shock detector Defect detector Off-track counting and detection Automatic closed-loop gain control available for focus and radial loops High-level features.
6.7.1 PDSIC Registers and servo RAM control
The servo block is controlled by two parts of the design - the servo control registers which are used to control the writing of commands and parameters to the servo; and the servo RAM. The servo RAM has two roles: storage of the servo parameters and capture of commands and parameters during the command process. All of the servo write commands consist of a command byte followed by a number of parameter bytes (between 1 and 7), all of which have to be loaded into the PDSIC using a serial communication interface.
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
46 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The command byte is the first to be loaded and can be considered as two nibbles. The upper (most significant) nibble represents the command itself whilst the lower (least significant) nibble tells the PDSIC how many parameter bytes to expect. The command byte gets placed into memory location 31h (called oldcom). Subsequently, parameter bytes get loaded sequentially and these get placed into a stack space that has been reserved within the memory (locations 30h to 2Bh). With each parameter byte that is loaded, the value in oldcom is decremented. In other words, the byte count decreases until it reaches 0, then the PDSIC knows it has a complete servo command with a command byte and its full complement of parameter bytes. At this point, the PDSIC acts upon the command and the appropriate function is carried out based upon the values in the stack space. There are two special case servo commands: Write_parameter (opcode = A2h) and Write_decoder_reg (opcode = D1h). Write_parameter allows the microcontroller to write directly to any memory location. It carries two parameter bytes; the memory address and the data that is to be written. When this command is executed the command byte is loaded into oldcom and the first parameter byte () is loaded onto the stack. The second parameter byte () is loaded directly into the location specified by . Write_decoder_reg allows decoder registers to be written to when the I2C-bus interface is being used. This command carries only one parameter byte, which is the decoder register/data pair (2 nibbles). When this command is received by the PDSIC, the register/data pair is loaded into memory location 4Dh. The servo read commands operate slightly differently in that they carry no parameter bytes and the lower nibble of the command byte is always 0 to indicate this. When the PDSIC receives a read command it will make certain information available (mostly from memory, although some status information is retrieved from the decoder) on the serial interface for collection by the microcontroller. If a sequence of values are being read from the servo RAM (e.g. a series of values related to a PID loop), it is important to ensure that the values are consistent with each other, i.e. to ensure the servo has not updated some of the values during the period they are read. Therefore, an interrupt signal is available from the servo to the ARM which raises an IRQ when it is safe to read related values. This can also be monitored by the state of the servo register bits SRV_FC0 and SRV_FC1 shown in Table 13. The interrupt generator monitors these signals and raises an IRQ whenever the correct state is achieved. Applying a pulse to the `inreq_clr' register bit will then clear the interrupt. If the interrupt is not cleared, it will automatically be reset when the valid reading state is no longer true. Figure 28 shows the operation of the IRQ signal. Int #1 shows the full duration of an interrupt that does not get cleared by the ARM. Int #2 and Int #3 are shown being cleared by pulses being written to the inreq_clr register. The time between interrupts is approximately 15 s and the total interrupt cycle time is approximately 60 s.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
47 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
IRQ cycle time of ~60 s
IRQ cycle time of ~60 s
IRQ cycle time of ~60 s
SRV_FC0
SRV_FC1
IRQ
int #1
int #2
int #3
inreq_clr natural duration of IRQ (~45 s) IRQ #2 cleared by inreq_clr pulse IRQ #3 cleared by inreq_clr pulse
001aab772
Fig 28. Function of servo IRQ signal
6.7.2 Diode signal processing
The photo detector in conventional two-stage three-beam compact disc systems normally contains six discrete diodes. Four of these diodes (three for single foucault systems) carry the Central Aperture (CA) signal while the other two diodes (satellite diodes) carry the radial tracking information. The CA signals are summed into an HF signal for the decoder function and are also differenced (after analog to digital conversion) to produce the low frequency focus control signals. The low frequency content of the six (five if single foucault) photodiode inputs are converted to PDM bit streams by a multiplexed 6-bit ADC followed by a digital PDM generation circuit. This supports a range of OPUs in voltage mode mechanisms by having sixteen selectable gain ranges in two sets, one set for D1 to D4 and the other for R1 and R2.
6.7.3 Signal conditioning
The digital codes retrieved from the ADC and PDM generator are applied to logic circuitry to obtain the various control signals. The signals from the central aperture diodes are processed to obtain a normalized Focus Error (FE) signal: D1 - D2 D3 - D4 FE n = --------------------- - --------------------- where the detector set-up is assumed to be as shown in D1 + D2 D3 + D4 Figure 29. In the case of a single foucault focusing method, the signal conditioning can be switched under software control such that the signal processing is as follows: D1 - D2 FE n = 2 x --------------------D1 + D2 The error signal, FEn, is further processed by a Proportional Integral and Differential (PID) filter section.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
48 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
An internal flag is generated by means of the central aperture signal and an adjustable reference level. This signal is used to provide extra protection for the Track-Loss (TL) generation, the focus start-up procedure and the dropout detection. The radial or tracking error signal is generated by the satellite detector signals R1 and R2. The Radial Error (RE) signal can be formulated as follows: RE s = ( R1 - R2 ) x re_gain + ( R1 + R2 ) x re_offset where the index `s' indicates the automatic scaling operation which is performed on the radial error signal. This scaling is necessary to avoid non-optimum dynamic range usage in the digital representation and reduces the radial bandwidth spread. Furthermore, the radial error signal will be made free from offset during start-up of the disc. The four signals from the central aperture detectors, together with the satellite detector signals generate a Track Position Indicator (TPI) which can be formulated as follows: TPI = sign [ ( D1 + D2 + D3 + D4 ) - ( R1 + R2 ) x sum_gain ] where the weighting factor sum_gain is generated internally by the SAA7806 during initialization.
SATELLITE DIODE R1
SATELLITE DIODE R1
SATELLITE DIODE R1
D1 D3 D2
D2 D4
D1 D3
D1 D2 D3 D4
SATELLITE DIODE R2
SATELLITE DIODE R2
SATELLITE DIODE R2
single Foucault
astigmatic focus
double Foucault
mbg422
Fig 29. Detector arrangement
6.7.4 Focus servo system
6.7.4.1 Focus start-up Five initially loaded coefficients influence the start-up behavior of the focus controller. The automatically generated triangular voltage can be influenced by 3 parameters; for height (ramp_height) and DC offset (ramp_offset) of the triangle and its steepness (ramp_incr). For protection against false focus point detections, two parameters are available which are an absolute level on the CA signal (CA_start) and a level on the FEn signal (FE_start). When this CA level is reached then focus has been achieved.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
49 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
When focus is achieved and the level on the FEn signal is reached, the focus PID is enabled to switch on when the next zero crossing is detected in the FEn signal. 6.7.4.2 Focus position control loop The focus control loop contains a digital PID controller which has 5 parameters that are available to the user. These coefficients influence the integrating (foc_int), proportional (foc_lead_length, part of foc_parm3) and differentiating (foc_pole_lead, part of foc_parm1) action of the PID and a digital low-pass filter (foc_pole_noise, part of foc_parm2) following the PID. The fifth coefficient foc_gain influences the loop gain. Figure 30 shows the transfer function of the controller, and the coefficients which determine the behavior.
Amplitude (dB)
foc_gain I P D
5 foc_int_strength
1 foc_int
2 foc_lead_length
3
4 foc_pole_noise Frequency (log Hz)
001aab773
foc_pole_lead
Fig 30. Bode diagram of focus PID system
A simplified block diagram of the focus PID system is given in Figure 31.
P
focus error, FEn I zero on defect or shock D 1/j 1 j/3 1+j/3 2/3 4 G 68 FO GE focus actuator
001aab774
Fig 31. Functional diagram of focus PID system
By using a zero error signal, the actuator position can be held. This action is taken if a defect or shock is encountered. The PID is followed by a low-pass filter to reduce audible noise in the control loop. The desired frequencies for the loop (1 to 4) are used to calculate the coefficient values. Full tables are given in the Hardware Software Interface (HSI) specification. An explanation of the parameters in these diagrams is given in Table 12.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
50 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Focus PID parameters [1] Controlled by foc_parm1 foc_parm2 foc_parm3 foc_int_strength foc_gain end stage gain Comment focus integrator bandwidth beginning of focus lead foc_pole_lead; end of focus lead (differentiating part) foc_pole_noise; low-pass function following PID foc_lead_length; lead length (proportional part) integrator strength focus loop gain defined as peak-to-peak voltage swing over focus actuator
Table 12: Parameter 1 2 3 4 3/2
5 = (1.2/3) G GE
[1]
Refer to Table 3 of the HSI specification.
6.7.4.3
Dropout detection This detector can be influenced by one parameter (CA_drop). Focus will be lost and the integrator of the PID will hold if the CA signal drops below this programmable absolute CA level. When focus is lost it is assumed, initially, to be caused by a black dot.
6.7.4.4
Focus loss detection and fast restart Whenever focus is lost for longer than approximately 3 ms, it is assumed that the focus point is lost. A fast restart procedure is initiated which is capable of restarting the focus loop within 200 ms to 300 ms depending on the programmed coefficients of the microcontroller.
6.7.4.5
Focus loop gain switching The gain of the focus control loop (foc_gain) can be multiplied by a factor of 2 or divided by a factor of 2 during normal operation. The integrator value of the PID is corrected accordingly. The differentiating (foc_pole_lead) action of the PID can be switched at the same time as the gain switching is performed.
6.7.4.6
Focus automatic gain control loop The loop gain of the focus control loop can be corrected automatically to eliminate tolerances in the focus loop. This gain control injects a signal into the loop which is used to correct the loop gain. Since this decreases the optimum performance, the gain control should only be activated for a short time (for example, when starting a new disc).
6.7.5 Radial servo system
6.7.5.1 Radial PID - on-track mode When the radial servo is in on-track mode (i.e. normal play mode), a PID controller is active for the fast actuator, while the sledge is steered using either a PI or pulsed-mode system. A simplified diagram of the radial PID system is given in Figure 32:
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
51 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
satellite inputs R1 R2 86 87 NORMALIZER
scaled radial error D j/3 1+j/3 4 G 67 RA GE radial actuator 1/j 1 P 2/3 sledge error signal
001aab775
zero on defect or drop out
I
Fig 32. Functional diagram of radial PID system
An explanation of the different parameters is given below. The frequency response of this system is given in Figure 33:
Table 13: Parameter 1 2 3 4 3/2 5 = (1.2/3) G GE
[1]
Radial PID parameters [1] Controlled by rad_parm_play rad_pole_noise rad_length_lead rad_int_strength rad_gain end stage gain Comment radial integrator bandwidth beginning of radial lead end of radial lead (differentiating part) low-pass function following PID lead length (proportional part) integrator strength radial loop gain defined as peak-to-peak voltage swing over radial actuator
Refer to Table 2 of the HSI specification.
amplitude (dB)
rad_gain I P 5 1 2 3 4 frequency (log Hz)
001aab776
D
rad_int_strength
rad_int
rad_lead_length
rad_pole_noise
rad_pole_lead
Fig 33. Bode diagram of radial PID system
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
52 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.7.5.2
Level initialization During start-up an automatic adjustment procedure is activated to set the values of the radial error gain (re_gain), offset (re_offset) and satellite sum gain (sum_gain) for TPI level generation. The initialization procedure runs in a radial open loop situation and is 300 ms. This start-up time period may coincide with the last part of the motor start-up time period:
* Automatic gain adjustment: as a result of this initialization the amplitude of the
RE signal is adjusted to within 10 % around the nominal RE amplitude start-up procedure is less than 50 nm
* Offset adjustment: the additional offset in RE due to the limited accuracy of the * TPI level generation: the accuracy of the initialization procedure is such that the duty
factor range of TPI becomes 0.4 < duty factor < 0.6 (default duty factor = TPI HIGH/TPI period). 6.7.5.3 Sledge control The microcontroller can move the sledge in both directions via the steer sledge command. 6.7.5.4 Tracking control The actuator is controlled using a PID loop filter with user defined coefficients and gain. For stable operation between the tracks, the S-curve is extended over 0.75 of the track. On request from the microcontroller, S-curve extension over 2.25 tracks is used, automatically changing to access control when exceeding those 2.25 tracks. Both modes of S-curve extension use a track-count mechanism. In this mode, track counting results in an `automatic return-to-zero track' to avoid major disturbances in the audio output and providing improved shock resistance. The sledge is continuously controlled, or provided with step pulses to reduce power consumption using the filtered value of the radial PID output. Alternatively, the microcontroller can read the average voltage on the radial actuator and provide the sledge with step pulses to reduce power consumption. Filter coefficients of the continuous sledge control can be preset by the user. 6.7.5.5 Access The access procedure is divided into two different modes (see Table 14), depending on the requested jump size.
Table 14: Access types Jump size brake_distance
[1]
Access type Actuator jump Sledge jump
[1] Microcontroller presettable.
Access speed decreasing velocity maximum power to sledge
brake_distance - 32768
The access procedure makes use of a track counting mechanism, a velocity signal based on a fixed number of tracks passed within a fixed time interval, a velocity set point calculated from the number of tracks to go and a user programmable parameter indicating the maximum sledge performance.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
53 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
If the number of tracks remaining is greater than the brake_distance then the sledge jump mode should be activated or, the actuator jump should be performed. The requested jump size together with the required sledge breaking distance at maximum access speed defines the brake_distance value. During the actuator jump mode, velocity control with a PI controller is used for the actuator. The sledge is then continuously controlled using the filtered value of the radial PID output. All filter parameters (for actuator and sledge) are user programmable. In the sledge jump mode, maximum power (user programmable) is applied to the sledge in the correct direction while the actuator becomes idle (the contents of the actuator integrator leaks to zero just after the sledge jump mode is initiated). The actuator can be electronically damped during sledge jump. The gain of the damping loop is controlled via the hold_mult parameter. The fast track jumping circuitry can be enabled or disabled via the xtra_preset parameter. 6.7.5.6 Radial automatic gain control loop The loop gain of the radial control loop can be corrected automatically to eliminate tolerances in the radial loop. This gain control injects a signal into the loop which is used to correct the loop gain. Since this decreases the optimum performance, the gain control should only be activated for a short time (for example, when starting a new disc). This gain control differs from the level initialization. The level initialization should be performed first. The disadvantage of using the level initialization without the gain control is that only tolerances from the front-end are reduced.
6.7.6 Off-track counting
The Track Position Indicator (TPI) is a flag which is used to indicate whether the radial spot is positioned on the track, with a margin of 14 of the track-pitch. In combination with the Radial Polarity flag (RP) the relative spot position over the tracks can be determined. These signals can have uncertainties caused by:
* Disc defects such as scratches and fingerprints * The HF information on the disc, which is considered as noise by the detector signals.
In order to determine the spot position with sufficient accuracy, extra conditions are necessary to generate a Track Loss signal (TL) and an off-track counter value. These extra conditions influence the maximum speed and this implies that, internally, one of the following three counting states is selected:
* Protected state; used in normal play situations; a good protection against false
detection caused by disc defects is important in this state
* Slow counting state; used in low velocity track jump situations; in this state a fast
response is important rather than the protection against disc defects (if the phase relationship between TL and RP of 12 radians is affected too much, then the direction cannot be determined accurately)
* Fast counting state; used in high velocity track jump situations; highest obtainable
velocity is the most important feature in this state.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
54 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.7.7 Defect detection
A defect detection circuit is incorporated into the SAA7806. If a defect is detected, the radial and focus error signals may be zeroed, resulting in better playability. The defect detector can be switched off, applied only to focus control or applied to both focus and radial controls under software control (part of foc_parm1). The defect detector has programmable set points selectable by the parameter defect_parm.
R1
86 + -
DECIMATION FILTER
FAST FILTER
SLOW FILTER
DEFECT GENERATION
PROGRAMMABLE HOLD-OFF
defect output
R2
87
001aab777
Fig 34. Defect detector diagram
6.7.8 Off-track detection
During active radial tracking, off-track detection has been released by continuously monitoring the off-track counter value. The off-track flag becomes valid whenever the off-track counter value is not equal to zero. Depending on the type of extended S-curve, the off-track counter is reset after 0.75 extend or at the original track in the 2.25 track extend mode.
6.7.9 High level features
6.7.9.1 Automatic error handling Three watchdogs are present:
* Focus: detects focus dropout of longer than 3 ms, sets focus lost interrupt, switches
off radial and sledge servos, disables drive to disc motor
* Radial play: started when radial servo is in on-track mode and a first subcode frame is
found; detects when maximum time between two subcode frames exceeds the time set by playwatchtime parameter; then sets radial error interrupt, switches radial and sledge servos off, puts disc motor in jump mode
* Radial jump: active when radial servo is in long jump or short jump modes; detects
when the off-track counter value decreases by less than 4 tracks between two readings (time interval set by jumpwatchtime parameter); then sets radial jump error, switches radial and sledge servos off to cancel jump. The focus watchdog is always active, the radial watchdogs are selectable via the radcontrol parameter. 6.7.9.2 Automatic sequencers and timer interrupts Two automatic sequencers are implemented (and must be initialized after power-on):
* Autostart sequencer: controls the start-up of focus, radial and motor * Autostop sequencer: brakes the disc and shuts down servos.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
55 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
When the automatic sequencers are not used it is possible to generate timer interrupts, defined by the time_parameter coefficient.
6.7.10 Driver interface
The control signals (pins RA, FO and SL) for the mechanism actuators are pulse density modulated. The modulating frequency can be set to either 1.0584 MHz or 2.1168 MHz; controlled via the xtra_preset parameter. An analog representation of the output signals can be achieved by connecting a first-order low-pass filter to the outputs. During reset (i.e. pin RESET_N is held LOW) the RA, FO, and SL pins are high-impedance. At all other times, when the laser is switched off, the RA and FO pins output a 2 MHz, 50 % duty cycle signal.
6.8 Laser interface
The laser diode pre-amp function is built onto the SAA7806 and is illustrated in Figure 35. The current can be regulated, up to 120 mA, in four steps ranging from 58 % up to full power. The voltage derived from the monitor diode is maintained at a steady state by the laser drive circuitry, regulating the current through the laser diode.
laser_pdmin laser power Vmon_dac laser_comp_out DAC UP/DOWN COUNTER
76
LPOWER
77 SIGMA DELTA DAC laser_ion 78
LASER MONITOR
laser_clk8MHz TIMING AND CONTROL LOGIC laser_clk32MHz
LASER DIODE AND MONITOR
001aab779
Fig 35. Laser control circuit
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
56 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.9 ARM7 system
The following diagram identifies the component parts which make up the system. The following sections give you a top-level description of the individual blocks.
ARM7TDMI-S
AHB bus
STATIC MEMORY INTERFACE UNIT
LASER DRIVER
CHANNEL DECODER INTERFACE
32 kB ROM INTERFACE
4 kB RAM INTERFACE
AHB VPB BRIDGE
pDSIC CORE
VPB bus
LCD DRIVER
AUDIO DAC
HEADPHONE VOLUME CONTROLLER
I2S-BUS
UART
INTERRUPT CONTROLLER
GPIO
I2C-BUS
001aab780
Fig 36. Top level ARM hierarchy
6.9.1 ARM7TDMI-S microcontroller
The ARM7TDMI-S processor is a member of the ARM family of 32-bit microcontrollers. The ARM processor offers a high performance for low power consumption and low gate count. The ARM architecture is based upon Reduced Instruction Set Computer (RISC) principles. RISC provides the following key benefits:
* High instruction throughput * Excellent real time interrupt response.
Table 15: Performance characteristics for ARM7TDMI-S Performance (MIPS/MHz) Power Maximum consumption operating (mW/MHz) frequency (MHz) 0.39 67 Typical operating frequency requirements for SAA7806 Process technology (m) 0.18
[1]
0.9
2 MHz [1]
The frequency of operation will depend on the performance required for the SAA7806 application and the software complexity.
The ARM7TDMI-S processor has 2 instruction sets:
* The 32-bit ARM instruction set * The 16-bit ARM Thumb instruction.
The ARM uses a 3 stage pipeline to increase the throughput of the flow of instructions to the processor. This allows several operations to operate simultaneously and the processor and memory systems to operate continuously.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
57 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
The 3 stage pipelines can be defined in the following stages:
* Fetch cycle; this is used to fetch the instruction from the memory * Decode cycle; this is used to decode the registers, used in the instructions fetched * Execute cycle; this is used to fetch the data from register banks, the shift and ALU
operations are performed and the data is written back into the memory. The microcontrollers have traditionally the same width for the instructions and data. The 32-bit architecture can be more efficient in performance and could also address a much larger address space compared to 16-bit architectures. The code density for 16-bit architecture would be much higher than 32-bit and the performance would be greater than half the 32-bit performance. The ARM Thumb instructions concept addresses the issues when 16-bit instructions are used but the performance required is for 32-bit architecture. Therefore the aim of Thumb instruction set can be summarized as follows:
* Higher performance for 16-bit architecture if 16-bit instructions are to be used. * The code density achieved for 16-bit instructions in a 32-bit architecture is a much
more efficient usage of memory space.
6.9.2 Static Memory Interface Unit (SMIU)
The AHB SRAM controller implements an AHB slave interface to an external SRAM. This interface is only available in the development version of this device. The specification of this interface is:
* * * * *
32-bit AHB interface width 67 MHz maximum AHB operating frequency Configured for low latency 1 kB memory word depth 32-bit data.
6.9.3 ROM Interface
The ROM interface provides an interface between the onboard 4 kB SROM memory and the ARM via the AHB bus. The specification of this interface is:
* * * * *
32-bit AHB interface width 67 MHz Maximum AHB operating frequency Configured for low latency 8 kB memory word depth 32-bit data.
The low latency architecture is optimized for low speed operation. No wait states are used and the ROM control signals are taken directly from the AHB bus. This means that the maximum frequency is likely to be limited by the speed at which the control signals arrive from the AHB master.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
58 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.9.4 RAM interface
The RAM interface provides an interface between the onboard 32 kB SRAM memory and the ARM via the AHB bus. The specification of this interface is:
* * * * *
32-bit AHB interface width 67 MHz maximum AHB operating frequency Configured for low latency 1 kB memory word depth 32-bit data.
6.9.5 I2C-bus interface
This interface can be used as an I2C-bus slave or master and is fully compliant with the I2C-bus specification. The specification of this interface is:
* * * * * * * *
Master/slave configurations Address 30h 67 MHz maximum AHB operating frequency 25 MHz I2C-bus operating frequency 4 byte Rx FIFO depth 4 byte Tx FIFO depth Maximum I2C-bus frequency of 400 kHz Compatible with 7-bit and 10-bit addressing.
6.9.6 General purpose I/Os
The GPIOs are linked to the VLSI Peripheral Bus (VPB). This interface provides individual control over each bidirectional pin. Each pin can be configured to be an input, output or bidirectional:
* 32 bidirectional IOs.
6.9.7 Interrupt controller
* 12 dedicated internal interrupts * 1 external interrupt which has programmable polarity * Two interrupt types available Interrupt Request (IRQ) and Fast Interrupt Request
(FIQ)
* * * *
Interrupts can be defined as IRQ or FIQ One of 16 priority levels can be assigned to an interrupt Interrupt priority threshold level All interrupts can be masked.
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
59 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
6.9.8 Universal asynchronous receiver transceiver
* * * *
4 byte Tx FIFO depth 4 byte Rx FIFO depth Both Rx and Tx can have specific fill levels set before an interrupt is triggered Format of data character to be transmitted or received can be defined.
7. Limiting values
Table 16: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter VDDD VDDP VDDA VLCD VI digital supply voltage periphery supply voltage analog supply voltage analog LCD supply voltage input voltage analog inputs 5 V tolerant digital inputs Tstg Ptot storage temperature total power dissipation playing disc at 1 x with headphones enabled
[1]
Conditions
Min -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -55 -
Max +2.5 +3.6 +3.6 +5.5
Unit V V V V
VDDA + 0.5 V 5.5 +125 274 V C mW
[1]
All digital input and bidirectional pins are 5 V tolerant
8. Recommended operating conditions
Table 17: Symbol VDDD VDDP VDDA VLCD Tamb Characteristics Parameter digital supply voltage pad supply voltage analog supply voltage analog LCD supply voltage ambient temperature Conditions Min 1.65 3.0 3.0 4.5 -40 Typ 1.80 3.3 3.3 5.0 Max 1.95 3.6 3.6 5.5 +85 Unit V V V V C
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
60 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
9. Characteristics
Table 18: Characteristics VDDP = VDDA = 3.0 V to 3.6 V; VDDD = 1.65 V to 1.95 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol Supply VDDD VDDP VDDA IDDD IDDA IDDP VDDD VDDD(TX) VDDD(RX) supply voltage, digital regulator supply voltage, digital pads supply voltage, analog supply current, digital supply current, analog supply current, peripheral supply voltage, digital core supply voltage, analog transmitter supply voltage, analog receiver VDDD = 1.8 V VDDA = 3.3 V VDDP = 3.3 V
[1] [1] [2] [1] [2]
Parameter
Conditions
Min 1.65 3.0 3.0 9.6 63.6 6.1 1.65 1.65 1.65
Typ 1.8 3.3 3.3 15.5 63.6 6.1 1.8 1.8 1.8
Max 1.95 3.6 3.6 42.4 63.6 6.1 1.95 1.95 1.95
Unit V V V mA mA mA V V V
Voltage regulator
Analog section (VDDA = 3.3 V; VSSA = 0 V; Tamb = 25 C) LF path; input pins R1 and R2 Vi(p) Gtol Gtol(ch) peak signal amplitude voltage range (16 steps) gain tolerance absolute relative gain tolerance between channels within a pair relative to full scale unidirectional bidirectional Gt fs fi B S/N THD Ri(v) Ri(v)(tol) Vcm(min) VIO cancellation accuracy sample frequency input frequency (2fs) recovered bandwidth signal-to-noise ratio total harmonic distortion input resistance in voltage mode voltage mode resistance tolerance minimum input common mode range input offset relative to pin OPU_REF_OUT 6-bit ADC input range 6-bit ADC common mode voltage bandwidth phase delay flatness up to 6 x (2 MHz x X-rate) up to 6 x (10 ns/X-rate) peak-to-peak differential 0 Hz to 20 kHz 0 Hz to 20 kHz B = 0 Hz to 20 kHz relative to full scale 20 55 20 -30 -30 66 33 4.1 4.2336 8.4672 1.6 -30 +30 +30 % % % MHz MHz kHz dB dB k % V mV unidirectional bidirectional 20 20 -20 -3 0 960 960 +20 +3 mV mV % %
Voffset(DC) DC offset cancellation range
HF path; input pins D1, D2, D3 and D4 Vi(ADC) Vcm(ADC) B td()(f)
9397 750 13697
1.4 2 12 -
1.4 -
1.4 1.66
V V MHz ns
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
61 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Table 18: Characteristics ...continued VDDP = VDDA = 3.0 V to 3.6 V; VDDD = 1.65 V to 1.95 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol S/N Vo(p-p) d PSRR G Zi Bmon S/NAW THD S/N THD G S/NAW THDDAC THDAUX VO/P(p-p) Zi l(o)max tsu Vwindow VO Parameter signal-to-noise ratio output swing (peak-to-peak value) distortion power supply rejection total gain range input impedance HF monitor bandwidth A-weighted signal-to-noise ratio total harmonic distortion signal-to-noise ratio total harmonic distortion gain A-weighted signal-to-noise ratio total harmonic distortion (DAC input) total harmonic distortion (AUX input) O/P voltage swing (peak-to-peak value) input impedance output current time for laser to reach final value voltage excursion (noise) output voltage sel180 = 0 sel180 = 1 Output pin: OPU_REF_OUT VI(ref) Oscillator Input pin OSCIN (external clock) VI th ILI CI input voltage input HIGH time input leakage current input capacitance relative to period 45 -20 VDDA/2 55 +20 7 V % mA pF band gap reference voltage 1.6 V 145 175 155 185 mV mV at 1 kHz at 1 kHz at 1 kHz 0 Hz to 20 kHz 0 Hz to 20 kHz nominal -3 dB point Conditions 100 Hz to 12 MHz at 6 MHz at 6 MHz Min 40 2.4 20 27 55 -39 90 32 120 1 -1 Typ 20 90 2.2 Max 28 1 -35 38.4 20 46 -80 -30 +6 -80 -80 +1 Unit dB V dB dB dB k MHz dB dB dB dB dB dB dB dB V k mA ms mV
Audio DAC; input/output pin DAC_VREF; output pins DAC_LN, DAC_LP, DAC_RN and DAC_RP
Audio feature; input pins AUX_L and AUX_R
Headphone buffer; input pins AUX_L and AUX_R; output pins BUF_OUT_L and BUF_OUT_R
Laser driver; input pin MONITOR
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
62 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Table 18: Characteristics ...continued VDDP = VDDA = 3.0 V to 3.6 V; VDDD = 1.65 V to 1.95 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol fOSCOUT gm CF CO Rbias General IOZ Ilu VESD Power Imax Digital pins DC specifications; input and bidirectional pins VIH VIL IIL IIH Vhys Ipd HIGH-level input voltage LOW-level input voltage LOW-level input current HIGH-level input current hysteresis voltage pull-down current VI = VDDP VI = 5 V VI = 0 V; no pull up VI = VDDP 2.0 0.4 20 20 -13 0 50 50 -50 0 0.8 1 1 75 75 -40 0 0.4 V V A A V mA mA mA mA V V mA mA mA maximum continuous current 98 mA 3-state output leakage current I/O latch-up current human body model machine model VO = 0 V or VO = VDDE -0.5 x VDDP < V < 1.5 x VDDP; Tj < 125 C 100 1 2 200 A mA kV V Parameter crystal frequency resonator frequency mutual conductance at start-up feedback capacitance output capacitance internal bias resistor Conditions
[5]
Min 8.4672 8.4672 17 -
Typ 200
Max
Unit
Output pin OSCOUT 16.9344 MHz 16.9344 MHz 2 7 mS pF pF k
Pinning characteristics
Parameter for pin types with hysteresis (pin types IDH and IUH) Parameter for pin types with pull-down (types ID and IDH)
Parameter for pin types with pull-up (types BTSU, IU and IUH)
Ipu pull-up current VI = 0 V VDDP < VI < 5.0 V DC specifications output and bi-directional pins VOH VOL IOL HIGH-level output voltage LOW-level output voltage LOW-level output current VOL = 0.4 V 5 ns slew rate output 12 mA output 27 mA output 4 11 27 VDDP - 0.4 -
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
63 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
Table 18: Characteristics ...continued VDDP = VDDA = 3.0 V to 3.6 V; VDDD = 1.65 V to 1.95 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol IOH Parameter HIGH-level output current Conditions VOH = VDDP - 0.4 V 5 ns slew rate output 12 mA output 27 mA output IOH(sc) IOL(sc) HIGH-level short-circuit current LOW-level short-circuit current short period of time; VOH = 0 V short period of time; VOL = VDDP -5 -13 -28 -45 50 mA mA mA mA mA Min Typ Max Unit
AC specifications; input pins tr, tf rise and fall time 6 200 ns AC specifications; output and bidirectional pins
Parameter for pin types with slew rate limited output (types BTS, BTSU and OTS)
tTHL, tTLH transition times CL = 30 pF; transition times read at 10 % and 90 % of output slope; 5 ns slew rate CL = 30 pF; transition times read at 10 % and 90 % of output slope; 5 ns slew rate; 12 mA output CL = 30 pF; transition times read at 10 % and 90 % of output slope; 27 mA output 4.0 ns
Parameter for pin types with slew rate limited output and 12 mA source or sink current (type AOBS)
tTHL, tTLH transition times 2.9 ns
Parameter for pin types with 27 mA source or sink current (type OS)
tTHL, tTLH transition times 3.8 ns
[1] [2]
VDDD1 and VDDD2. Minimum value is initial reset value; primary clock = 67 MHz; AHB and decoder = 4 MHz. Typical and maximum value with playing CD at 1 x; headphone buffer enabled; primary clock = 67 MHz. For typical value, AHB = 16 MHz and decoder = 4 MHz; for maximum value, AHB = 67 MHz and decoder = 4 MHz. VDDA1, VDDA2, VDDA3 and VDD(DAC). VDDP1, VDDP2 and VDDP3. It is recommended that the nominal running series resistance of the crystal or ceramic resonator is 60 .
[3] [4] [5]
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
64 of 73
xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxx x x
Objective data sheet Rev. 01 -- 20 June 2005
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved. 9397 750 13697
10. Application information
Philips Semiconductors
supply decoupling 3.3 V pin 81
C13 22 F (25 V)
8V 3.3 V 3.3 V pin 5
C17 22 F (25 V) C18 2.2 nF C19 22 F (25 V) C20 2.2 nF
3.3 V pin 90
C14 2.2 nF C15 22 F (25 V)
pin 95
C16 2.2 nF
U2 VCC RADOUTN FOCOUTP
OPU servos radial focus
1 2 3 4 5 6 7 29 8 9 10 11 12 13 14
28 27 26 25 24 23 22
VOUT3.3 VFBIN3.3 VOUT1.8 VFBIN1.8 MUTE RADIN FOCIN GND SLIN VBIASIN GND VBIASOUT MOTBIAS MOTIN1 MOTIN2
R7
V1 BC337 3.3 V V2 BC337 1.8 V radial focus
R9
GND FOCOUTN RADOUTP VCC
3.3 V pin 19
C21 22 F (25 V)
3.3 V pin 48
C22 2.2 nF C23 22 F (25 V)
3.3 V pin 59
C24 2.2 nF C25 22 F (25 V)
3.3 V pin 76
C26 2.2 nF C27 22 F (25 V) C28 2.2 nF
R6
sledge
focus
radial
spindle
GND VCC
DRIVER
30 21 20 19 18 17 16 15
sledge
1.8 V pin 14
C31 22 F (25 V)
1.8 V pin 71
C32 2.2 nF C33 22 F (25 V)
3.3 V pin 76
C34 2.2 nF C35 22 F (25 V)
3.3 V pin 36
C36 2.2 nF C29 100 nF
C1
C2 C3 C4
TR MO TR2 SP2
SLOUTP SLOUTN
TR1 SP1
M
GND MOTOUTP MOTOUTN VCC
M
SP MO
R8
3.3 V INT/GPIO30/RTCK
R2
R3
R4
R5
spindle
TDO2/GPIO31
TMS2/GPIO29
TDI2/GPIO28
1.8 V MOTO2 MOTO1
JTAG port TRST_N
3.3 V 3.3 V V4/CL16
optional
MONITOR
LPOWER
HF_MON
LASER
VDDD2
VDDP3
VSSD2
WCLK
VSSA1
VSSP3
SYNC
DATA
SCLK
TMS
TCK
TD0
SDI
TDI
FO
RA
EF
SL
R1 10 k R11 10 k
OPU connections
VDDA1 81 D1 82 D2 83 D3 84 D4 85 R1 86 R2 87 AUX_L 88
C12 4.7 nF
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 2 VSS(DACB) VSS(DACF) 3 BUF_OUT_L 4 BUF_OUT_R 5 VDDA3 6 A_IN_1/GPIO0 7 A_IN_2/GPIO1 8 TX/GPIO_ANA 9 RX/GPIO_ANA 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 SDA SCL RESET_N SEG0/GPIO4 SEG1/GPIO5 SEG2/GPIO6 SEG3/GPIO7 SEG4/GPIO8 SEG5/GPIO9 SEG6/GPIO10 SEG7/GPIO11 SEG8/GPIO12 SEG9/GPIO13 DOBM LKILL RKILL VDDP1 VSSD1 VSSP1 VDD1 VLCD 1
SCLI WCLI VDDP2 INT_EX_ROM VSSP2 COM3/GPIO27 COM2/GPIO26 COM1/GPIO25 COM0/GPIO24
R12 10 k
8.4672 MHz
R10 2.7 k
G1
C6 33 pF C5 33 pF
AUX_R 89 VDDA2 90 OPU_REF_OUT 91 VSSA2 92 OSCOUT 93 VDD(DAC) OSCIN 94 95 DAC_LP 96 DAC_LN 97
One chip automotive CD audio device
SEG19/GPIO23/GFLG SEG18/GPIO22/MEAS SEG17/GPIO21/CL1 SEG16/GPIO20 SEG15/GPIO19 VDD(LED) SEG14/GPIO18 SEG13/GPIO17 SEG12/GPIO16 SEG11/GPIO15 SEG10/GPIO14 3.3 V
mute
SAA7806
left
C10 4.7 nF
DAC out
C11 4.7 nF
DAC_VREF 98 DAC_RN 99 DAC_RP 100
SAA7806
right
C8 10 nF C9 10 nF C7 1 F
reset 1.8 V
001aac132
65 of 73
Fig 37. Typical application diagram
Philips Semiconductors
SAA7806
One chip automotive CD audio device
11. Package outline
QFP100: plastic quad flat package; 100 leads (lead length 1.95 mm); body 14 x 20 x 2.8 mm SOT317-2
c
y X
80 81
51 50 ZE
A
e E HE A A2 A1 (A 3) Lp bp 100 1 wM D HD ZD B vM B 30 vM A 31 detail X L
wM pin 1 index
e
bp
0
5 scale
10 mm
DIMENSIONS (mm are the original dimensions) UNIT mm A max. 3.2 A1 0.25 0.05 A2 2.90 2.65 A3 0.25 bp 0.40 0.25 c 0.25 0.14 D (1) 20.1 19.9 E (1) 14.1 13.9 e 0.65 HD 24.2 23.6 HE 18.2 17.6 L 1.95 Lp 1.0 0.6 v 0.2 w 0.15 y 0.1 Z D (1) Z E(1) 0.8 0.4 1.0 0.6 7 o 0
o
Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT317-2 REFERENCES IEC JEDEC MO-112 JEITA EUROPEAN PROJECTION
ISSUE DATE 99-12-27 03-02-25
Fig 38. Package outline SOT317-2 (QFP100)
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
66 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
12. Soldering
12.1 Introduction to soldering surface mount packages
This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages (document order number 9398 652 90011). There is no soldering method that is ideal for all surface mount IC packages. Wave soldering can still be used for certain surface mount ICs, but it is not suitable for fine pitch SMDs. In these situations reflow soldering is recommended.
12.2 Reflow soldering
Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. Driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. Several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 seconds and 200 seconds depending on heating method. Typical reflow peak temperatures range from 215 C to 270 C depending on solder paste material. The top-surface temperature of the packages should preferably be kept:
* below 225 C (SnPb process) or below 245 C (Pb-free process)
- for all BGA, HTSSON..T and SSOP..T packages - for packages with a thickness 2.5 mm - for packages with a thickness < 2.5 mm and a volume 350 mm3 so called thick/large packages.
* below 240 C (SnPb process) or below 260 C (Pb-free process) for packages with a
thickness < 2.5 mm and a volume < 350 mm3 so called small/thin packages. Moisture sensitivity precautions, as indicated on packing, must be respected at all times.
12.3 Wave soldering
Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. To overcome these problems the double-wave soldering method was specifically developed. If wave soldering is used the following conditions must be observed for optimal results:
* Use a double-wave soldering method comprising a turbulent wave with high upward
pressure followed by a smooth laminar wave.
* For packages with leads on two sides and a pitch (e):
- larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board;
9397 750 13697 (c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
67 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
- smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves at the downstream end.
* For packages with leads on four sides, the footprint must be placed at a 45 angle to
the transport direction of the printed-circuit board. The footprint must incorporate solder thieves downstream and at the side corners. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. Typical dwell time of the leads in the wave ranges from 3 seconds to 4 seconds at 250 C or 265 C, depending on solder material applied, SnPb or Pb-free respectively. A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications.
12.4 Manual soldering
Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 C. When using a dedicated tool, all other leads can be soldered in one operation within 2 seconds to 5 seconds between 270 C and 320 C.
12.5 Package related soldering information
Table 19: Package [1] BGA, HTSSON..T [3], LBGA, LFBGA, SQFP, SSOP..T [3], TFBGA, VFBGA, XSON DHVQFN, HBCC, HBGA, HLQFP, HSO, HSOP, HSQFP, HSSON, HTQFP, HTSSOP, HVQFN, HVSON, SMS PLCC [5], SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO, VSSOP CWQCCN..L [8], PMFP [9], WQCCN..L [8]
[1] [2]
Suitability of surface mount IC packages for wave and reflow soldering methods Soldering method Wave not suitable not suitable [4] Reflow [2] suitable suitable
suitable not not recommended [5] [6] recommended [7]
suitable suitable suitable not suitable
not suitable
For more detailed information on the BGA packages refer to the (LF)BGA Application Note (AN01026); order a copy from your Philips Semiconductors sales office. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the Drypack information in the Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods. These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 C 10 C measured in the atmosphere of the reflow oven. The package body peak temperature must be kept as low as possible.
[3]
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
68 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
[4]
These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. If wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. The package footprint must incorporate solder thieves downstream and at the side corners. Wave soldering is suitable for LQFP, QFP and TQFP packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. Wave soldering is suitable for SSOP, TSSOP, VSO and VSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. Image sensor packages in principle should not be soldered. They are mounted in sockets or delivered pre-mounted on flex foil. However, the image sensor package can be mounted by the client on a flex foil by using a hot bar soldering process. The appropriate soldering profile can be provided on request. Hot bar soldering or manual soldering is suitable for PMFP packages.
[5] [6] [7] [8]
[9]
13. Glossary
AHB -- ARM Advanced High Performance Bus ARM -- Advanced RISC Machines (32-bit microcontroller design) ARM7TDMI-S -- Specific version of ARM microcontroller used in SAA7806 (ARM7 family) FIFO -- First in, first out GPIO -- General purpose input/output HSI -- Hardware Software Interface specification I2C -- Inter IC-bus Communication format I2S -- Inter IC Sound format LCD -- Liquid Crystal Display PDSIC -- Parallel Digital Servo IC (digital servo block within SAA7806) RISC -- Reduced Instruction Set Computer Thumb -- ARM 16-bit instruction set UART -- Universal Asynchronous Receiver Transmitter VPB -- VLSI Peripheral Bus
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
69 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
14. Revision history
Table 20: Revision history Release date 20050620 Data sheet status Objective data sheet Change notice Doc. number 9397 750 13697 Supersedes Document ID SAA7806_1
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
70 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
15. Data sheet status
Level I II Data sheet status [1] Objective data Preliminary data Product status [2] [3] Development Qualification Definition This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. This data sheet contains data from the product specification. Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN).
III
Product data
Production
[1] [2] [3]
Please consult the most recently issued data sheet before initiating or completing a design. The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
16. Definitions
Short-form specification -- The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition -- Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information -- Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification.
customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes -- Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. When the product is in full production (status `Production'), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified.
18. Trademarks
Notice -- All referenced brands, product names, service names and trademarks are the property of their respective owners. I2C-bus -- wordmark and logo are trademarks of Koninklijke Philips Electronics N.V.
17. Disclaimers
Life support -- These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors
19. Contact information
For additional information, please visit: http://www.semiconductors.philips.com For sales office addresses, send an email to: sales.addresses@www.semiconductors.philips.com
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
71 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
20. Contents
1 2 2.1 2.2 3 4 5 5.1 5.2 6 6.1 6.1.1 6.1.2 6.2 6.3 6.4 6.5 6.6 6.6.1 6.6.2 6.6.3 6.6.3.1 6.6.3.2 6.6.3.3 6.6.3.4 6.6.4 6.6.4.1 6.6.4.2 6.6.5 6.6.5.1 6.6.5.2 6.6.5.3 6.6.5.4 6.6.5.5 6.6.5.6 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware features . . . . . . . . . . . . . . . . . . . . . . 1 Read formats . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 3 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 4 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5 Functional description . . . . . . . . . . . . . . . . . . . 8 Analog data acquisition. . . . . . . . . . . . . . . . . . . 8 LF acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . 8 HF acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Analog clock generation . . . . . . . . . . . . . . . . . 10 General purpose analog inputs . . . . . . . . . . . 11 Auxiliary analog inputs . . . . . . . . . . . . . . . . . . 11 AHB core clock generation . . . . . . . . . . . . . . . 14 Channel decoder . . . . . . . . . . . . . . . . . . . . . . 14 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . 15 Clock control . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Signal xclk. . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Sysclock domain. . . . . . . . . . . . . . . . . . . . . . . 18 Bitclock domain. . . . . . . . . . . . . . . . . . . . . . . . 18 Ebuclock domain . . . . . . . . . . . . . . . . . . . . . . 18 Decoder to ARM microcontroller interface . . . 19 Programming interface . . . . . . . . . . . . . . . . . . 19 Interrupt strategy. . . . . . . . . . . . . . . . . . . . . . . 19 EFM bit detection and demodulation . . . . . . . 19 Signal conditioning . . . . . . . . . . . . . . . . . . . . . 20 Bit detector . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Limiting the PLL frequency range . . . . . . . . . . 29 Run length 2 pushback detector . . . . . . . . . . . 30 Available signals for monitoring . . . . . . . . . . . 30 Format of the measurement signal on MEAS pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.6.5.7 Demodulator . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.6.5.8 EFM demodulation . . . . . . . . . . . . . . . . . . . . . 32 6.6.5.9 Sync detection and synchronization . . . . . . . . 32 6.6.5.10 Sync protection . . . . . . . . . . . . . . . . . . . . . . . . 32 6.6.6 CD decoding . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6.6.6.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6.6.6.2 Q-channel subcode interface . . . . . . . . . . . . . 33 6.6.6.3 CD-TEXT interface . . . . . . . . . . . . . . . . . . . . . 34 6.6.6.4 Main data decoding . . . . . . . . . . . . . . . . . . . . 35 6.6.6.5 Error corrector statistics . . . . . . . . . . . . . . . . . 37 6.6.7 Audio back-end and data output interfaces . . 37 6.6.7.1 6.6.7.2 6.6.7.3 6.6.7.4 6.6.7.5 6.6.7.6 6.6.7.7 6.6.7.8 6.6.7.9 6.6.7.10 6.6.7.11 6.6.8 6.6.8.1 6.6.8.2 6.6.8.3 6.6.8.4 6.6.8.5 6.6.8.6 6.7 6.7.1 6.7.2 6.7.3 6.7.4 6.7.4.1 6.7.4.2 6.7.4.3 6.7.4.4 6.7.4.5 6.7.4.6 6.7.5 6.7.5.1 6.7.5.2 6.7.5.3 6.7.5.4 6.7.5.5 6.7.5.6 6.7.6 6.7.7 6.7.8 6.7.9 6.7.9.1 6.7.9.2 6.7.10 6.8 6.9 6.9.1 6.9.2 6.9.3 Audio processing . . . . . . . . . . . . . . . . . . . . . . Interpolate and hold . . . . . . . . . . . . . . . . . . . . Soft mute and error detection. . . . . . . . . . . . . Hard mute on EBU . . . . . . . . . . . . . . . . . . . . . Silence detection and kill generation . . . . . . . De-emphasis filter . . . . . . . . . . . . . . . . . . . . . Upsample filter (four times) . . . . . . . . . . . . . . Data output interfaces . . . . . . . . . . . . . . . . . . I2S-bus interface. . . . . . . . . . . . . . . . . . . . . . . EBU interface . . . . . . . . . . . . . . . . . . . . . . . . . Subcode interface . . . . . . . . . . . . . . . . . . . . . Motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Frequency set point . . . . . . . . . . . . . . . . . . . . Position error . . . . . . . . . . . . . . . . . . . . . . . . . Motor control loop gains (KP, KF and KI). . . . . Operation modes . . . . . . . . . . . . . . . . . . . . . . Writing and reading motor integrator value . . Some notes on application motor servo. . . . . Digital Servo - PDSIC. . . . . . . . . . . . . . . . . . . PDSIC Registers and servo RAM control . . . Diode signal processing . . . . . . . . . . . . . . . . . Signal conditioning . . . . . . . . . . . . . . . . . . . . . Focus servo system . . . . . . . . . . . . . . . . . . . . Focus start-up . . . . . . . . . . . . . . . . . . . . . . . . Focus position control loop. . . . . . . . . . . . . . . Dropout detection. . . . . . . . . . . . . . . . . . . . . . Focus loss detection and fast restart . . . . . . . Focus loop gain switching . . . . . . . . . . . . . . . Focus automatic gain control loop . . . . . . . . . Radial servo system. . . . . . . . . . . . . . . . . . . . Radial PID - on-track mode . . . . . . . . . . . . . . Level initialization . . . . . . . . . . . . . . . . . . . . . . Sledge control . . . . . . . . . . . . . . . . . . . . . . . . Tracking control . . . . . . . . . . . . . . . . . . . . . . . Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Radial automatic gain control loop . . . . . . . . . Off-track counting . . . . . . . . . . . . . . . . . . . . . . Defect detection . . . . . . . . . . . . . . . . . . . . . . . Off-track detection . . . . . . . . . . . . . . . . . . . . . High level features . . . . . . . . . . . . . . . . . . . . . Automatic error handling . . . . . . . . . . . . . . . . Automatic sequencers and timer interrupts . . Driver interface . . . . . . . . . . . . . . . . . . . . . . . . Laser interface . . . . . . . . . . . . . . . . . . . . . . . . ARM7 system. . . . . . . . . . . . . . . . . . . . . . . . . ARM7TDMI-S microcontroller . . . . . . . . . . . . Static Memory Interface Unit (SMIU) . . . . . . . ROM Interface . . . . . . . . . . . . . . . . . . . . . . . . 38 38 39 39 39 40 40 41 41 42 43 44 44 45 45 45 46 46 46 46 48 48 49 49 50 51 51 51 51 51 51 53 53 53 53 54 54 55 55 55 55 55 56 56 57 57 58 58
continued >>
9397 750 13697
(c) Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Objective data sheet
Rev. 01 -- 20 June 2005
72 of 73
Philips Semiconductors
SAA7806
One chip automotive CD audio device
59 59 59 59 60 60 60 61 65 66 67 67 67 67 68 68 69 70 71 71 71 71 71
6.9.4 6.9.5 6.9.6 6.9.7 6.9.8 7 8 9 10 11 12 12.1 12.2 12.3 12.4 12.5 13 14 15 16 17 18 19
RAM interface . . . . . . . . . . . . . . . . . . . . . . . . . I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . . General purpose I/Os . . . . . . . . . . . . . . . . . . . Interrupt controller . . . . . . . . . . . . . . . . . . . . . Universal asynchronous receiver transceiver . Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . Recommended operating conditions. . . . . . . Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . Application information. . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering . . . . . . . . . . . . . . . . . . . . . . . Wave soldering . . . . . . . . . . . . . . . . . . . . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Package related soldering information . . . . . . Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . .
(c) Koninklijke Philips Electronics N.V. 2005
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: 20 June 2005 Document number: 9397 750 13697
Published in The Netherlands


▲Up To Search▲   

 
Price & Availability of SAA7806

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X